Hi Linus, This is the weekly fixes pull for drm. Just has i915, xe and amdgpu changes in it, the misc tree didn't get a PR to me this week (cc'ed), so next week might have a larger set of changes, otherwise nothing too major in here. Regards, Dave. drm-fixes-2024-12-14: drm fixes for 6.13-rc3 i915: - Don't use indexed register writes needlessly [dsb] - Stop using non-posted DSB writes for legacy LUT [color] - Fix NULL pointer dereference in capture_engine - Fix memory leak by correcting cache object name in error handler xe: - Fix a KUNIT test error message (Mirsad Todorovac) - Fix an invalidation fence PM ref leak (Daniele) - Fix a register pool UAF (Lucas) amdgpu: - ISP hw init fix - SR-IOV fixes - Fix contiguous VRAM mapping for UVD on older GPUs - Fix some regressions due to drm scheduler changes - Workload profile fixes - Cleaner shader fix amdkfd: - Fix DMA map direction for migration - Fix a potential null pointer dereference - Cacheline size fixes - Runtime PM fix The following changes since commit fac04efc5c793dccbd07e2d59af9f90b7fc0dca4: Linux 6.13-rc2 (2024-12-08 14:03:39 -0800) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-12-14 for you to fetch changes up to d172ea67dbeec5c90f72752c91d202d5718e3754: Merge tag 'amd-drm-fixes-6.13-2024-12-11' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2024-12-13 09:43:20 +1000) ---------------------------------------------------------------- drm fixes for 6.13-rc3 i915: - Don't use indexed register writes needlessly [dsb] - Stop using non-posted DSB writes for legacy LUT [color] - Fix NULL pointer dereference in capture_engine - Fix memory leak by correcting cache object name in error handler xe: - Fix a KUNIT test error message (Mirsad Todorovac) - Fix an invalidation fence PM ref leak (Daniele) - Fix a register pool UAF (Lucas) amdgpu: - ISP hw init fix - SR-IOV fixes - Fix contiguous VRAM mapping for UVD on older GPUs - Fix some regressions due to drm scheduler changes - Workload profile fixes - Cleaner shader fix amdkfd: - Fix DMA map direction for migration - Fix a potential null pointer dereference - Cacheline size fixes - Runtime PM fix ---------------------------------------------------------------- Andrew Martin (1): drm/amdkfd: Dereference null return value Christian König (2): drm/amdgpu: fix UVD contiguous CS mapping problem drm/amdgpu: fix when the cleaner shader is emitted Daniele Ceraolo Spurio (1): drm/xe: Call invalidation_fence_fini for PT inval fences in error state Dave Airlie (3): Merge tag 'drm-intel-fixes-2024-12-11' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-12-12' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Merge tag 'amd-drm-fixes-6.13-2024-12-11' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes David (Ming Qiang) Wu (1): amdgpu/uvd: get ring reference from rq scheduler Eugene Kobyak (1): drm/i915: Fix NULL pointer dereference in capture_engine Harish Kasiviswanathan (2): drm/amdkfd: hard-code cacheline size for gfx11 drm/amdkfd: hard-code MALL cacheline size for gfx11, gfx12 Jesse.zhang@xxxxxxx (1): drm/amdkfd: pause autosuspend when creating pdd Jiasheng Jiang (1): drm/i915: Fix memory leak by correcting cache object name in error handler Kenneth Feng (1): drm/amd/pm: Set SMU v13.0.7 default workload type Lijo Lazar (1): drm/amd/pm: Initialize power profile mode Lucas De Marchi (1): drm/xe/reg_sr: Remove register pool Mirsad Todorovac (1): drm/xe: fix the ERR_PTR() returned on failure to allocate tiny pt Pratap Nirujogi (2): Revert "drm/amdgpu: Fix ISP hw init issue" drm/amdgpu: Fix ISP HW init issue Prike Liang (1): drm/amdkfd: Correct the migration DMA map direction Victor Zhao (1): drm/amdgpu: use sjt mec fw on gfx943 for sriov Ville Syrjälä (2): drm/i915/dsb: Don't use indexed register writes needlessly drm/i915/color: Stop using non-posted DSB writes for legacy LUT drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 17 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 13 ++-- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 10 ++- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 24 ++++++- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 15 ++++ drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 4 +- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 23 +----- .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 12 ++-- drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 24 +++++-- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 + drivers/gpu/drm/i915/display/intel_color.c | 81 ++++++++++++++-------- drivers/gpu/drm/i915/display/intel_dsb.c | 19 ++++- drivers/gpu/drm/i915/display/intel_dsb.h | 2 + drivers/gpu/drm/i915/i915_gpu_error.c | 18 ++++- drivers/gpu/drm/i915/i915_scheduler.c | 2 +- drivers/gpu/drm/xe/tests/xe_migrate.c | 4 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 8 +++ drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h | 1 + drivers/gpu/drm/xe/xe_pt.c | 3 +- drivers/gpu/drm/xe/xe_reg_sr.c | 31 ++------- drivers/gpu/drm/xe/xe_reg_sr_types.h | 6 -- 25 files changed, 200 insertions(+), 125 deletions(-)