[git pull] drm fixes for 6.11-rc8

From: Dave Airlie
Date: Fri Sep 13 2024 - 02:46:53 EST


Hi Linus,

Regular fixes pull, the amdgpu JPEG engine fixes are probably the
biggest, they look to block some register accessing, otherwise there
are just minor fixes and regression fixes all over. nouveau had a
regression report going back a few kernels that finally got fixed, Not
entirely happy with so many changes so late, but they all seem quite
benign apart from the jpeg one.

I should be fine for the merge window next week, see you in Vienna.

Dave.

drm-fixes-2024-09-13:
drm fixes for 6.11-rc8

dma-buf/heaps:
- fix off by one in CMA heap fault handler

syncobj:
- fix syncobj leak in drm_syncobj_eventfd_ioctl

amdgpu:
- Avoid races between set_drr() functions and dc_state_destruct()
- Fix regression related to zpos
- Fix regression related to overlay cursor
- SMU 14.x updates
- JPEG fixes
- Silence an UBSAN warning

amdkfd:
- Fetch cacheline size from IP discovery

i915:
- Prevent a possible int overflow in wq offsets

xe:
- Remove a double include
- Fix null checks and UAF
- Fix access_ok check in user_fence_create
- Fix compat IS_DISPLAY_STEP() range
- OA fix
- Fixes in show_meminfo

nouveau:
- fix GP10x regression on boot

stm:
- add COMMON_CLK dep

rockchip:
- iommu api change

tegra:
- iommu api change
The following changes since commit da3ea35007d0af457a0afc87e84fddaebc4e0b63:

Linux 6.11-rc7 (2024-09-08 14:50:28 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-09-13

for you to fetch changes up to 135be1dc46c64c454f2828dbb7f239d035f47180:

Merge tag 'drm-xe-fixes-2024-09-12' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
(2024-09-13 15:18:18 +1000)

----------------------------------------------------------------
drm fixes for 6.11-rc8

dma-buf/heaps:
- fix off by one in CMA heap fault handler

syncobj:
- fix syncobj leak in drm_syncobj_eventfd_ioctl

amdgpu:
- Avoid races between set_drr() functions and dc_state_destruct()
- Fix regerssion related to zpos
- Fix regression related to overlay cursor
- SMU 14.x updates
- JPEG fixes
- Silence an UBSAN warning

amdkfd:
- Fetch cacheline size from IP discovery

i915:
- Prevent a possible int overflow in wq offsets

xe:
- Remove a double include
- Fix null checks and UAF
- Fix access_ok check in user_fence_create
- Fix compat IS_DISPLAY_STEP() range
- OA fix
- Fixes in show_meminfo

nouveau:
- fix GP10x regression on boot

stm:
- add COMMON_CLK dep

rockchip:
- iommu api change

tegra:
- iommu api change

----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu/atomfirmware: Silence UBSAN warning

Arnd Bergmann (1):
drm/stm: add COMMON_CLK dependency

Ashutosh Dixit (1):
drm/xe/oa: Enable Xe2+ PES disaggregation

Ben Skeggs (1):
drm/nouveau/fb: restore init() for ramgp102

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

David (Ming Qiang) Wu (2):
drm/amd/amdgpu: apply command submission parser for JPEG v2+
drm/amd/amdgpu: apply command submission parser for JPEG v1

David Belanger (1):
drm/amdkfd: Add cache line size info

Jani Nikula (1):
drm/xe/display: fix compat IS_DISPLAY_STEP() range end

Kenneth Feng (2):
drm/amd/pm: update the features set on smu v14.0.2/3
drm/amd/pm: fix the pp_dpm_pcie issue on smu v14.0.2/3

Leo Li (2):
drm/amd/display: Do not reset planes based on crtc zpos_changed
drm/amd/display: Add all planes on CRTC to state for overlay cursor

Lu Baolu (2):
drm/rockchip: Use iommu_paging_domain_alloc()
drm/tegra: Use iommu_paging_domain_alloc()

Lucas De Marchi (1):
drm/xe/gt: Remove double include

Matthew Auld (2):
drm/xe/client: fix deadlock in show_meminfo()
drm/xe/client: add missing bo locking in show_meminfo()

Matthew Brost (2):
drm/xe: Remove fence check from send_tlb_invalidation
drm/xe: Fix possible UAF in guc_exec_queue_process_msg

Nikita Zhandarovich (1):
drm/i915/guc: prevent a possible int overflow in wq offsets

Nirmoy Das (1):
drm/xe: Fix access_ok check in user_fence_create

T.J. Mercier (2):
dma-buf: heaps: Fix off-by-one in CMA heap fault handler
drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl

Tobias Jakobi (2):
drm/amd/display: Avoid race between dcn10_set_drr() and
dc_state_destruct()
drm/amd/display: Avoid race between dcn35_set_drr() and
dc_state_destruct()

drivers/dma-buf/heaps/cma_heap.c | 2 +-
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 76 +++++++++++++++++++++-
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.h | 11 ++++
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 63 +++++++++++++++++-
drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.h | 6 ++
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 2 +
drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.h | 1 -
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 57 +---------------
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.h | 7 +-
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 1 +
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c | 3 +-
drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 8 ++-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 13 +++-
.../drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 20 +++---
.../drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 20 +++---
drivers/gpu/drm/amd/include/atomfirmware.h | 4 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 11 +++-
.../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 12 ++++
drivers/gpu/drm/drm_syncobj.c | 17 +++--
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 +-
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.h | 2 +
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c | 1 +
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 10 ++-
drivers/gpu/drm/stm/Kconfig | 1 +
drivers/gpu/drm/tegra/drm.c | 5 +-
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 +-
drivers/gpu/drm/xe/regs/xe_oa_regs.h | 1 +
drivers/gpu/drm/xe/xe_drm_client.c | 45 +++++++++++--
drivers/gpu/drm/xe/xe_gt.c | 1 -
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 4 +-
drivers/gpu/drm/xe/xe_guc_submit.c | 4 +-
drivers/gpu/drm/xe/xe_oa.c | 4 ++
drivers/gpu/drm/xe/xe_sync.c | 2 +-
36 files changed, 315 insertions(+), 109 deletions(-)