On Fri, Aug 23, 2024 at 12:55:09PM +0300, Joonas Lahtinen wrote: > Hi Dave & Sima, > > Mostly fixes in this drm-intel-gt-next PR at this time. > > One thing to pay attention is the limitation of number of relocations to > INT_MAX which might impact synthetic tests, but no real workloads. > > Regards, Joonas > > *** > > drm-intel-gt-next-2024-08-23: > > UAPI Changes: > > - drm/i915: 2 GiB of relocations ought to be enough for anybody* > > Limit the number of relocations to INT_MAX. > > Only impact should be onsynthetic tests. > > Driver Changes: > > - Fix for #11396: GPU Hang and rcs0 reset on Cherrytrail platform > - Fix Virtual Memory mapping boundaries calculation (Andi) > - Fix for #11255: Long hangs in buddy allocator with DG2/A380 without > Resizable BAR since 6.9 (David) > - Mark the GT as dead when mmio is unreliable (Chris, Andi) > - Workaround additions / fixes for MTL, ARL and DG2 (John H, Nitin) > - Enable partial memory mapping of GPU virtual memory (Andi, Chris) > > - Prevent NULL deref on intel_memory_regions_hw_probe (Jonathan, Dan) > - Avoid UAF on intel_engines_release (Krzysztof) > > - Don't update PWR_CLK_STATE starting Gen12 (Umesh) > - Code and dmesg cleanups (Andi, Jesus, Luca) > > The following changes since commit 3b85152cb167bd24fe84ceb91b719b5904ca354f: > > drm/i915/gem: Suppress oom warning in favour of ENOMEM to userspace (2024-06-28 00:11:01 +0200) > > are available in the Git repository at: > > https://gitlab.freedesktop.org/drm/i915/kernel.git tags/drm-intel-gt-next-2024-08-23 Pulled, thanks. -Sima > > for you to fetch changes up to 255fc1703e42321b5afdedc8259ad03c7cc533ec: > > drm/i915/gem: Calculate object page offset for partial memory mapping (2024-08-21 15:28:33 +0200) > > ---------------------------------------------------------------- > UAPI Changes: > > - Limit the number of relocations to INT_MAX (Tvrtko) > > Only impact should be synthetic tests. > > Driver Changes: > > - Fix for #11396: GPU Hang and rcs0 reset on Cherrytrail platform > - Fix Virtual Memory mapping boundaries calculation (Andi) > - Fix for #11255: Long hangs in buddy allocator with DG2/A380 without > Resizable BAR since 6.9 (David) > - Mark the GT as dead when mmio is unreliable (Chris, Andi) > - Workaround additions / fixes for MTL, ARL and DG2 (John H, Nitin) > - Enable partial memory mapping of GPU virtual memory (Andi, Chris) > > - Prevent NULL deref on intel_memory_regions_hw_probe (Jonathan, Dan) > - Avoid UAF on intel_engines_release (Krzysztof) > > - Don't update PWR_CLK_STATE starting Gen12 (Umesh) > - Code and dmesg cleanups (Andi, Jesus, Luca) > > ---------------------------------------------------------------- > Andi Shyti (6): > drm/i915/gem: Adjust vma offset for framebuffer mmap offset > drm/i915/gem: Fix Virtual Memory mapping boundaries calculation > drm/i915/gem: Improve pfn calculation readability in vm_fault_gtt() > drm/i915: Replace double blank with single blank after comma in gem/ and gt/ > drm/i915/gem: Do not look for the exact address in node > drm/i915/gem: Calculate object page offset for partial memory mapping > > Chris Wilson (1): > drm/i915/gt: Mark the GT as dead when mmio is unreliable > > David Gow (2): > drm/i915: Allow evicting to use the requested placement > drm/i915: Attempt to get pages without eviction first > > Jesus Narvaez (1): > drm/i915/guc: Change GEM_WARN_ON to guc_err to prevent taints in CI > > John Harrison (2): > drm/i915/arl: Enable Wa_14019159160 for ARL > drm/i915/guc: Extend w/a 14019159160 > > Jonathan Cavitt (1): > drm/i915: Allow NULL memory region > > Krzysztof Niemiec (1): > drm/i915/gt: Empty uabi engines list during intel_engines_release() > > Luca Coelho (1): > drm/i915/gt: remove stray declaration of intel_gt_release_all() > > Nitin Gote (2): > drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8 > drm/i915/gt: Add Wa_14019789679 > > Tvrtko Ursulin (1): > drm/i915: 2 GiB of relocations ought to be enough for anybody* > > Umesh Nerlige Ramappa (1): > i915/perf: Remove code to update PWR_CLK_STATE for gen12 > > drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 4 +- > drivers/gpu/drm/i915/gem/i915_gem_mman.c | 73 +++++++++++++++++++--- > drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 2 +- > drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 13 ++-- > drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 + > .../gpu/drm/i915/gt/intel_execlists_submission.c | 6 +- > drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 1 + > drivers/gpu/drm/i915/gt/intel_gt.h | 7 ++- > drivers/gpu/drm/i915/gt/intel_gt_types.h | 2 + > drivers/gpu/drm/i915/gt/intel_reset.c | 12 +++- > drivers/gpu/drm/i915/gt/intel_workarounds.c | 16 ++++- > drivers/gpu/drm/i915/gt/selftest_migrate.c | 2 +- > drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 1 + > drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- > drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 18 +++--- > drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 5 +- > drivers/gpu/drm/i915/gt/uc/intel_uc.c | 2 +- > drivers/gpu/drm/i915/i915_mm.c | 12 +++- > drivers/gpu/drm/i915/i915_mm.h | 3 +- > drivers/gpu/drm/i915/i915_perf.c | 33 ---------- > drivers/gpu/drm/i915/intel_memory_region.c | 6 +- > drivers/gpu/drm/i915/intel_uncore.c | 7 ++- > .../gpu/drm/i915/selftests/intel_memory_region.c | 2 +- > 23 files changed, 150 insertions(+), 81 deletions(-) -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch