1. 02 Jun, 2021 5 commits
    • Zhihao Cheng's avatar
      drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest() · 8f4caef8
      Zhihao Cheng authored
      In case of error, the function live_context() returns ERR_PTR() and never
      returns NULL. The NULL test in the return value check should be replaced
      with IS_ERR().
      
      Fixes: 52c0fdb2 ("drm/i915: Replace global breadcrumbs with per-context interrupt tracking")
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
      Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/33c46ef24cd547d0ad21dc106441491a@intel.com
      [tursulin: Wrap commit text, fix Fixes: tag.]
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      8f4caef8
    • YueHaibing's avatar
      drm/i915: use DEVICE_ATTR_RO macro · 177f30c6
      YueHaibing authored
      Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(),
      which makes the code a bit shorter and easier to read.
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210528100403.21548-1-yuehaibing@huawei.com
      177f30c6
    • Joonas Lahtinen's avatar
      Merge drm/drm-next into drm-intel-gt-next · 942baad2
      Joonas Lahtinen authored
      Pulling in -rc2 fixes and TTM changes that next upcoming patches depend
      on.
      Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      942baad2
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2021-05-28' of... · ccd1950c
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      UAPI Changes:
      - Add reworked uAPI for DG1 behind CONFIG_BROKEN (Matt A, Abdiel)
      
      Driver Changes:
      
      - Fix for Gitlab issues #3293 and #3450:
        Avoid kernel crash on older L-shape memory machines
      
      - Add Wa_14010733141 (VDBox SFC reset) for Gen11+ (Aditya)
      - Fix crash in auto_retire active retire callback due to
        misalignment (Stephane)
      - Fix overlay active retire callback alignment (Tvrtko)
      - Eliminate need to align active retire callbacks (Matt A, Ville,
        Daniel)
      - Program FF_MODE2 tuning value for all Gen12 platforms (Caz)
      - Add Wa_14011060649 for TGL,RKL,DG1 and ADLS (Swathi)
      - Create stolen memory region from local memory on DG1 (CQ)
      - Place PD in LMEM on dGFX (Matt A)
      - Use WC when default state object is allocated in LMEM (Venkata)
      - Determine the coherent map type based on object location (Venkata)
      - Use lmem physical addresses for fb_mmap() on discrete (Mohammed)
      - Bypass aperture on fbdev when LMEM is available (Anusha)
      - Return error value when displayable BO not in LMEM for dGFX (Mohammed)
      - Do release kernel context if breadcrumb measure fails (Janusz)
      - Hide modparams for compiled-out features (Tvrtko)
      - Apply Wa_22010271021 for all Gen11 platforms (Caz)
      - Fix unlikely ref count race in arming the watchdog timer (Tvrtko)
      - Check actual RC6 enable status in PMU (Tvrtko)
      - Fix a double free in gen8_preallocate_top_level_pdp (Lv)
      - Use trylock in shrinker for GGTT on BSW VT-d and BXT (Maarten)
      - Remove erroneous i915_is_ggtt check for
        I915_GEM_OBJECT_UNBIND_VM_TRYLOCK (Maarten)
      
      - Convert uAPI headers to real kerneldoc (Matt A)
      - Clean up kerneldoc warnings headers (Matt A, Maarten)
      - Fail driver if LMEM training failed (Matt R)
      - Avoid div-by-zero on Gen2 (Ville)
      - Read C0DRB3/C1DRB3 as 16 bits again and add _BW suffix (Ville)
      - Remove reference to struct drm_device.pdev (Thomas)
      - Increase separation between GuC and execlists code (Chris, Matt B)
      
      - Use might_alloc() (Bernard)
      - Split DGFX_FEATURES from GEN12_FEATURES (Lucas)
      - Deduplicate Wa_22010271021 programming on (Jose)
      - Drop duplicate WaDisable4x2SubspanOptimization:hsw (Tvrtko)
      - Selftest improvements (Chris, Hsin-Yi, Tvrtko)
      - Shuffle around init_memory_region for stolen (Matt)
      - Typo fixes (wengjianfeng)
      
      [airlied: fix conflict with fixes in i915_active.c]
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YLCbBR22BsQ/dpJB@jlahtine-mobl.ger.corp.intel.com
      ccd1950c
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2021-06-01' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 43ed3c6c
      Dave Airlie authored
      drm-misc-next for 5.14:
      
      UAPI Changes:
      
       * Use DRM driver names for fbdev
      
      Cross-subsystem Changes:
      
      Core Changes:
      
       * Fix leaked DMA handles
      
       * Improve documentation around DRM_CLIENT_CAP_*
      
       * Cleanups
      
       * dp_mst: Use kHz as link-rate unit during init
      
       * fourcc: Remove drm_gem_format_name() and drm_format_name_buf
      
       * gem-cma: Fix mmap for buffers with write combining
      
       * ttm: Don't override pre-set vm_ops; ttm_bo_mmap() removal and cleanups
      
      Driver Changes:
      
       * drm/amdgpu: Fix hot unplug during suspend; Implement mmap as GEM object
         function; Use %p4cc format-string modifier; Cleanups
      
       * drm/bridge: Cdns: Fix PM reference leak, Cleanups; Lt8912b: Fix Coccinelle
         warnings; Fix Kconfig dependencies; Fixes and cleanups
      
       * drm/hisilicon/kirin: Cleanups
      
       * drm/nouveau: Implement mmap as GEM object function
      
       * drm/radeon: Implement mmap as GEM object function
      
       * drm/rockchip: Remove generic drivers during init; Add scaling for RK3036
         win1; Fix missing registers for RK3066 and 3188; Add alpha support for
         RK3036, RK3066, RK3126 and RK3188; Fixes and cleanups
      
       * drm/simpledrm: Use %p4cc: format-string modifier
      
       * drm/vmwgfx: Cleanups
      
       * fbdev/matrox: Use modern module_init()
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/YLZOKiYE6XFmE/MH@linux-uq9g.fritz.box
      43ed3c6c
  2. 01 Jun, 2021 4 commits
  3. 31 May, 2021 5 commits
  4. 28 May, 2021 15 commits
  5. 27 May, 2021 11 commits