[git pull] drm fixes for 6.4-rc7

From: Dave Airlie
Date: Fri Jun 16 2023 - 16:29:57 EST


Hi Linus,

Bunch of misc fixes across the board, amdgpu is the usual bulk with a
revert and other fixes, nouveau has a race fix that was causing a UAF
that was hard hanging systems, otherwise some qaic, bridge and radeon.

Dave.

drm-fixes-2023-06-17:
drm fixes for 6.4-rc7

amdgpu:
- GFX9 preemption fixes
- Add missing radeon secondary PCI ID
- vblflash fixes
- SMU 13 fix
- VCN 4.0 fix
- Re-enable TOPDOWN flag for large BAR systems to fix regression
- eDP fix
- PSR hang fix
- DPIA fix

radeon:
- fbdev client warning fix

qaic:
- leak fix
- null ptr deref fix

nouveau:
- use-after-free caused by fence race fix
- runtime pm fix
- NULL ptr checks

bridge:
- ti-sn65dsi86: Avoid possible buffer overflow
The following changes since commit 858fd168a95c5b9669aac8db6c14a9aeab446375:

Linux 6.4-rc6 (2023-06-11 14:35:30 -0700)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-06-17

for you to fetch changes up to 9930f518b6a82ff10a3d13e0cbde05cce04f5930:

Merge tag 'drm-misc-fixes-2023-06-16' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-06-17
06:11:59 +1000)

----------------------------------------------------------------
drm fixes for 6.4-rc7

amdgpu:
- GFX9 preemption fixes
- Add missing radeon secondary PCI ID
- vblflash fixes
- SMU 13 fix
- VCN 4.0 fix
- Re-enable TOPDOWN flag for large BAR systems to fix regression
- eDP fix
- PSR hang fix
- DPIA fix

radeon:
- fbdev client warning fix

qaic:
- leak fix
- null ptr deref fix

nouveau:
- use-after-free caused by fence race fix
- runtime pm fix
- NULL ptr checks

bridge:
- ti-sn65dsi86: Avoid possible buffer overflow

----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu: add missing radeon secondary PCI ID

Arunpravin Paneer Selvam (1):
Revert "drm/amdgpu: remove TOPDOWN flags when allocating VRAM in
large bar system"

Carl Vanderlip (1):
accel/qaic: Free user handle on interrupted mutex

Dave Airlie (3):
Merge tag 'amd-drm-fixes-6.4-2023-06-14' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
nouveau: fix client work fence deletion race
Merge tag 'drm-misc-fixes-2023-06-16' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes

Hersen Wu (1):
drm/amd/display: edp do not add non-edid timings

Jeffrey Hugo (1):
accel/qaic: Fix NULL pointer deref in qaic_destroy_drm_device()

Jiadong Zhu (4):
drm/amdgpu: Reset CP_VMID_PREEMPT after trailing fence signaled
drm/amdgpu: Program gds backup address as zero if no gds allocated
drm/amdgpu: Modify indirect buffer packages for resubmission
drm/amdgpu: Implement gfx9 patch functions for resubmission

Kenneth Feng (1):
drm/amd/pm: workaround for compute workload type on some skus

Mario Limonciello (2):
drm/amd: Make sure image is written to trigger VBIOS image update flow
drm/amd: Tighten permissions on VBIOS flashing attributes

Natalia Petrova (2):
drm/nouveau/dp: check for NULL nv_connector->native_mode
drm/nouveau: add nv_encoder pointer check for NULL

Peichen Huang (1):
drm/amd/display: limit DPIA link rate to HBR3

Ratchanan Srirattanamet (1):
drm/nouveau: don't detect DSM for non-NVIDIA device

Sonny Jiang (1):
drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1

Su Hui (1):
drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow

Thomas Zimmermann (1):
drm/radeon: Disable outputs when releasing fbdev client

Tom Chung (1):
drm/amd/display: fix the system hang while disable PSR

drivers/accel/qaic/qaic_drv.c | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 7 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 18 ++++
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 9 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | 60 ++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.h | 15 +++
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 101 +++++++++++++++++++--
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 6 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 18 +++-
.../gpu/drm/amd/display/dc/link/link_detection.c | 5 +
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 33 ++++++-
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 +
drivers/gpu/drm/nouveau/nouveau_acpi.c | 3 +
drivers/gpu/drm/nouveau/nouveau_connector.c | 7 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 14 ++-
drivers/gpu/drm/radeon/radeon_fbdev.c | 1 +
18 files changed, 281 insertions(+), 27 deletions(-)