[git pull] drm fixes for 6.4-rc6

From: Dave Airlie
Date: Fri Aug 11 2023 - 02:27:51 EST


Hey Linus,

This week's fixes, as expected amdgpu is probably a little larger
since it skipped a week, but otherwise a few nouveau fixes, a couple
of bridge, rockchip and ivpu fixes.

Dave.

drm-fixes-2023-08-11:
drm fixes for 6.4-rc6

amdgpu:
- S/G display workaround for platforms with >= 64G of memory
- S0i3 fix
- SMU 13.0.0 fixes
- Disable SMU 13.x OD features temporarily while the interface is reworked
to enable additional functionality
- Fix cursor gamma issues on DCN3+
- SMU 13.0.6 fixes
- Fix possible UAF in CS IOCTL
- Polaris display regression fix
- Only enable CP GFX shadowing on SR-IOV

amdkfd:
- Raven/Picasso KFD regression fix

bridge:
- it6505: runtime PM fix
- lt9611: revert Do not generate HFP/HBP/HSA and EOT packet

nouveau:
- enable global memory loads for helper invocations for userspace driver
- dp 1.3 dpcd+ workaround fix
- remove unused function
- revert incorrect NULL check

accel/ivpu:
- Add set_pages_array_wc/uc for internal buffers

rockchip:
- Don't spam logs in atomic check
The following changes since commit 52a93d39b17dc7eb98b6aa3edb93943248e03b2f:

Linux 6.5-rc5 (2023-08-06 15:07:51 -0700)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-08-11

for you to fetch changes up to fbe8ff726a1de82d87524f306b0f6491e13d7dfa:

Merge tag 'amd-drm-fixes-6.5-2023-08-09' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2023-08-11
14:49:20 +1000)

----------------------------------------------------------------
drm fixes for 6.4-rc6

amdgpu:
- S/G display workaround for platforms with >= 64G of memory
- S0i3 fix
- SMU 13.0.0 fixes
- Disable SMU 13.x OD features temporarily while the interface is reworked
to enable additional functionality
- Fix cursor gamma issues on DCN3+
- SMU 13.0.6 fixes
- Fix possible UAF in CS IOCTL
- Polaris display regression fix
- Only enable CP GFX shadowing on SR-IOV

amdkfd:
- Raven/Picasso KFD regression fix

bridge:
- it6505: runtime PM fix
- lt9611: revert Do not generate HFP/HBP/HSA and EOT packet

nouveau:
- enable global memory loads for helper invocations for userspace driver
- dp 1.3 dpcd+ workaround fix
- remove unused function
- revert incorrect NULL check

accel/ivpu:
- Add set_pages_array_wc/uc for internal buffers

rockchip:
- Don't spam logs in atomic check

----------------------------------------------------------------
Alex Deucher (5):
drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
drm/amdgpu/gfx11: only enable CP GFX shadowing on SR-IOV
drm/amdkfd: ignore crat by default
drm/amdkfd: disable IOMMUv2 support for KV/CZ
drm/amdkfd: disable IOMMUv2 support for Raven

Arnd Bergmann (1):
drm/nouveau: remove unused tu102_gr_load() function

Boris Brezillon (1):
drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()

Daniel Stone (1):
drm/rockchip: Don't spam logs in atomic check

Dave Airlie (2):
Merge tag 'drm-misc-fixes-2023-08-10' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'amd-drm-fixes-6.5-2023-08-09' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes

Evan Quan (1):
drm/amd/pm: disable the SMU13 OD feature support temporarily

Karol Herbst (2):
drm/nouveau/gr: enable memory loads on helper invocation on all channels
drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes

Karol Wachowski (1):
accel/ivpu: Add set_pages_array_wc/uc for internal buffers

Kenneth Feng (1):
drm/amd/pm: correct the pcie width for smu 13.0.0

Lijo Lazar (2):
drm/amdgpu: Match against exact bootloader status
drm/amd/pm: Fix SMU v13.0.6 energy reporting

Lyude Paul (1):
drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues

Mario Limonciello (3):
drm/amd: Disable S/G for APUs when 64GB or more host memory
drm/amd/display: Don't show stack trace for missing eDP
drm/amd/display: Fix a regression on Polaris cards

Melissa Wen (1):
drm/amd/display: check attr flag before set cursor degamma on DCN3+

Neil Armstrong (1):
Revert "drm/bridge: lt9611: Do not generate HFP/HBP/HSA and EOT packet"

Pin-yen Lin (1):
drm/bridge: it6505: Check power state with it6505->powered in IRQ handler

Tim Huang (1):
drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11

drivers/accel/ivpu/ivpu_gem.c | 8 ++++
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 26 ++++++++++++
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 8 +++-
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 15 +++----
drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 4 --
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 13 ------
.../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 8 +---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 5 +--
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
.../amd/display/dc/dce110/dce110_hw_sequencer.c | 3 +-
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c | 7 +++-
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 20 ++++++---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 5 +--
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 12 ++++--
drivers/gpu/drm/bridge/ite-it6505.c | 4 +-
drivers/gpu/drm/bridge/lontium-lt9611.c | 4 +-
drivers/gpu/drm/drm_gem_shmem_helper.c | 6 +++
drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c | 48 +++++++++++++++++++++-
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c | 4 +-
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110.c | 10 +++++
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110b.c | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk208.c | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c | 1 +
drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c | 13 ------
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 17 ++++----
30 files changed, 173 insertions(+), 82 deletions(-)