1. 04 Jun, 2021 37 commits
  2. 03 Jun, 2021 1 commit
  3. 02 Jun, 2021 2 commits
    • 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
    • Jiansong Chen's avatar
      drm/amdgpu: remove unsafe optimization to drop preamble ib · 7d9c70d2
      Jiansong Chen authored
      Take the situation with gfxoff, the optimization may cause
      corrupt CE ram contents. In addition emit_cntxcntl callback
      has similar optimization which firmware can handle properly
      even for power feature.
      Signed-off-by: default avatarJiansong Chen <Jiansong.Chen@amd.com>
      Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      7d9c70d2