[git pull] drm fixes for 6.12-rc3

From: Dave Airlie
Date: Fri Oct 11 2024 - 03:18:07 EST


Hey Linus,

Weekly fixes haul for drm, lots of small fixes all over, amdgpu, xe
lead the way, some minor nouveau and radeon fixes, and then a bunch of
misc all over.

Nothing too scary or out of the unusual.

Regards,
Dave.

drm-fixes-2024-10-11:
drm fixes for 6.12-rc3

sched:
- Avoid leaking lockdep map

fbdev-dma:
- Only clean up deferred I/O if instanciated

amdgpu:
- Fix invalid UBSAN warnings
- Fix artifacts in MPO transitions
- Hibernation fix

amdkfd:
- Fix an eviction fence leak

radeon:
- Add late register for connectors
- Always set GEM function pointers

i915:
- HDCP refcount fix

nouveau:
- dmem: Fix privileged error in copy engine channel; Fix possible
data leak in migrate_to_ram()
- gsp: Fix coding style

v3d:
- Stop active perfmon before destroying it

vc4:
- Stop active perfmon before destroying it

xe:
- Drop GuC submit_wq pool
- Fix error checking with xa_store()
- Fix missing freq restore on GSC load error
- Fix wedged_mode file permission
- Fix use-after-free in ct communication
The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-10-11

for you to fetch changes up to ac44ff7cec33d5c2d4b72d52603552ec64c1a8bf:

Merge tag 'drm-xe-fixes-2024-10-10' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
(2024-10-11 13:54:10 +1000)

----------------------------------------------------------------
drm fixes for 6.12-rc3

sched:
- Avoid leaking lockdep map

fbdev-dma:
- Only clean up deferred I/O if instanciated

amdgpu:
- Fix invalid UBSAN warnings
- Fix artifacts in MPO transitions
- Hibernation fix

amdkfd:
- Fix an eviction fence leak

radeon:
- Add late register for connectors
- Always set GEM function pointers

i915:
- HDCP refcount fix

nouveau:
- dmem: Fix privileged error in copy engine channel; Fix possible
data leak in migrate_to_ram()
- gsp: Fix coding style

v3d:
- Stop active perfmon before destroying it

vc4:
- Stop active perfmon before destroying it

xe:
- Drop GuC submit_wq pool
- Fix error checking with xa_store()
- Fix missing freq restore on GSC load error
- Fix wedged_mode file permission
- Fix use-after-free in ct communication

----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu: partially revert powerplay `__counted_by` changes

Christian König (1):
drm/radeon: always set GEM function pointer

Colin Ian King (1):
drm/nouveau/gsp: remove extraneous ; after mutex

Dave Airlie (4):
Merge tag 'amd-drm-fixes-6.12-2024-10-08' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-intel-fixes-2024-10-10' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
Merge tag 'drm-misc-fixes-2024-10-10' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
Merge tag 'drm-xe-fixes-2024-10-10' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes

Hamza Mahfooz (1):
drm/amd/display: fix hibernate entry for DCN35+

Jani Nikula (1):
drm/i915/hdcp: fix connector refcounting

Janne Grunau (1):
drm/fbdev-dma: Only cleanup deferred I/O if necessary

Josip Pavic (1):
drm/amd/display: Clear update flags after update has been applied

Lang Yu (1):
drm/amdkfd: Fix an eviction fence leak

Matt Roper (1):
drm/xe: Make wedged_mode debugfs writable

Matthew Auld (3):
drm/xe/ct: prevent UAF in send_recv()
drm/xe/ct: fix xa_store() error checking
drm/xe/guc_submit: fix xa_store() error checking

Matthew Brost (2):
drm/sched: Use drm sched lockdep map for submit_wq
drm/xe: Drop GuC submit_wq pool

Maíra Canal (2):
drm/v3d: Stop the active perfmon before being destroyed
drm/vc4: Stop the active perfmon before being destroyed

Vinay Belgaumkar (1):
drm/xe: Restore GT freq on GSC load error

Wu Hoi Pok (1):
drm/radeon: add late_register for connector

Yonatan Maman (2):
nouveau/dmem: Fix privileged error in copy engine channel
nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 4 +-
drivers/gpu/drm/amd/amdkfd/kfd_process.c | 7 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 7 +-
drivers/gpu/drm/amd/display/dc/core/dc.c | 45 +++++++++---
drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h | 26 +++----
drivers/gpu/drm/drm_fbdev_dma.c | 3 +-
drivers/gpu/drm/i915/display/intel_hdcp.c | 10 ++-
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h | 2 +-
drivers/gpu/drm/nouveau/nouveau_dmem.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +-
drivers/gpu/drm/radeon/atombios_dp.c | 9 +--
drivers/gpu/drm/radeon/radeon_connectors.c | 17 +++++
drivers/gpu/drm/radeon/radeon_gem.c | 3 -
drivers/gpu/drm/radeon/radeon_object.c | 1 +
drivers/gpu/drm/scheduler/sched_main.c | 11 +++
drivers/gpu/drm/v3d/v3d_perfmon.c | 9 ++-
drivers/gpu/drm/vc4/vc4_perfmon.c | 7 +-
drivers/gpu/drm/xe/xe_debugfs.c | 2 +-
drivers/gpu/drm/xe/xe_gt.c | 4 +-
drivers/gpu/drm/xe/xe_guc_ct.c | 44 +++++++-----
drivers/gpu/drm/xe/xe_guc_submit.c | 85 ++---------------------
drivers/gpu/drm/xe/xe_guc_types.h | 7 --
22 files changed, 149 insertions(+), 158 deletions(-)