[git pull] drm fixes for 6.11-rc1

From: Dave Airlie
Date: Fri Jul 26 2024 - 00:00:49 EST


Hi Linus,

Fixes for rc1, mostly amdgpu, i915 and xe, with some other misc ones,
doesn't seem to be anything too serious.

Dave.

drm-next-2024-07-26:
drm fixes for 6.11-rc1

amdgpu:
- Bump driver version for GFX12 DCC
- DC documention warning fixes
- VCN unified queue power fix
- SMU fix
- RAS fix
- Display corruption fix
- SDMA 5.2 workaround
- GFX12 fixes
- Uninitialized variable fix
- VCN/JPEG 4.0.3 fixes
- Misc display fixes
- RAS fixes
- VCN4/5 harvest fix
- GPU reset fix

i915:
- Reset intel_dp->link_trained before retraining the link
- Don't switch the LTTPR mode on an active link
- Do not consider preemption during execlists_dequeue for gen8
- Allow NULL memory region

xe:
- xe_exec ioctl minor fix on sync entry cleanup upon error
- SRIOV: limit VF LMEM provisioning
- Wedge mode fixes

v3d:
- fix indirect dispatch on newer v3d revs

panel:
- fix panel backlight bindings
The following changes since commit 478a52707b0abe98aac7f8c53ccddb759be66b06:

Merge tag 'amd-drm-next-6.11-2024-07-12' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2024-07-18
09:20:00 +1000)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/kernel.git tags/drm-next-2024-07-26

for you to fetch changes up to d4ef5d2b7ee0cbb5f2d864716140366a618400d6:

Merge tag 'amd-drm-fixes-6.11-2024-07-25' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2024-07-26
09:52:15 +1000)

----------------------------------------------------------------
drm fixes for 6.11-rc1

amdgpu:
- Bump driver version for GFX12 DCC
- DC documention warning fixes
- VCN unified queue power fix
- SMU fix
- RAS fix
- Display corruption fix
- SDMA 5.2 workaround
- GFX12 fixes
- Uninitialized variable fix
- VCN/JPEG 4.0.3 fixes
- Misc display fixes
- RAS fixes
- VCN4/5 harvest fix
- GPU reset fix

i915:
- Reset intel_dp->link_trained before retraining the link
- Don't switch the LTTPR mode on an active link
- Do not consider preemption during execlists_dequeue for gen8
- Allow NULL memory region

xe:
- xe_exec ioctl minor fix on sync entry cleanup upon error
- SRIOV: limit VF LMEM provisioning
- Wedge mode fixes

v3d:
- fix indirect dispatch on newer v3d revs

panel:
- fix panel backlight bindings

----------------------------------------------------------------
Alex Deucher (2):
drm/amd/display: fix corruption with high refresh rates on DCN 3.0
drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell

Alex Hung (1):
drm/amd/display: Add doc entry for program_3dlut_size

Ashutosh Dixit (1):
drm/xe/exec: Fix minor bug related to xe_sync_entry_cleanup

Aurabindo Pillai (2):
drm/amd: Bump KMS_DRIVER_MINOR version
drm/amd/display: fix doc entry for bb_from_dmub

Boyuan Zhang (2):
drm/amdgpu/vcn: identify unified queue in sw init
drm/amdgpu/vcn: not pause dpg for unified queue

Dave Airlie (7):
Merge tag 'drm-intel-next-fixes-2024-07-18' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
Merge tag 'drm-xe-next-fixes-2024-07-18' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-next
Merge tag 'drm-misc-next-fixes-2024-07-19' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
Merge tag 'amd-drm-fixes-6.11-2024-07-18' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next
Merge tag 'drm-intel-next-fixes-2024-07-25' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
Merge tag 'drm-misc-next-fixes-2024-07-25' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
Merge tag 'amd-drm-fixes-6.11-2024-07-25' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next

David Belanger (1):
drm/amdgpu: Fix atomics on GFX12

Imre Deak (2):
drm/i915/dp: Reset intel_dp->link_trained before retraining the link
drm/i915/dp: Don't switch the LTTPR mode on an active link

Jane Jian (1):
drm/amdgpu/vcn: Use offsets local to VCN/JPEG in VF

Jonathan Cavitt (1):
drm/i915: Allow NULL memory region

Li Ma (1):
drm/amd/swsmu: enable Pstates profile levels for SMU v14.0.4

Lijo Lazar (2):
drm/amdgpu: Add empty HDP flush function to JPEG v4.0.3
drm/amdgpu: Add empty HDP flush function to VCN v4.0.3

Ma Ke (1):
drm/amd/amdgpu: Fix uninitialized variable warnings

Matthew Brost (2):
drm/xe: Wedge the entire device
drm/xe: Don't suspend device upon wedge

Maíra Canal (2):
drm/v3d: Add V3D tech revision to the device information
drm/v3d: Fix Indirect Dispatch configuration for V3D 7.1.6 and later

Michal Wajdeczko (1):
drm/xe/pf: Limit fair VF LMEM provisioning

Nitin Gote (1):
drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8

Rodrigo Siqueira (7):
drm/amd/display: Move DIO documentation to the right place
Documentation/gpu: Remove ':export:' option from DCN documentation
Documentation/gpu: Adjust DCN documentation paths
drm/amd/display: Add simple struct doc to remove doc build warning
Documentation/gpu: Remove undocumented files from dcn-blockshubbub.h
Documentation/amdgpu: Fix duplicate declaration
drm/amd/display: Remove ASSERT if significance is zero in math_ceil2

Roman Li (1):
drm/amd/display: Add function banner for idle_workqueue

Stanley.Yang (1):
drm/amdgpu: Fix eeprom max record count

Stephan Gerhold (1):
dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01

Sung Joon Kim (1):
drm/amd/display: Check for NULL pointer

Tim Huang (2):
drm/amd/pm: early return if disabling DPMS for GFX IP v11.5.2
drm/amdgpu: add missed harvest check for VCN IP v4/v5

YiPeng Chai (2):
drm/amdgpu: add mutex to protect ras shared memory
drm/amdgpu: fix ras UE error injection failure issue

ZhenGuo Yin (1):
drm/amdgpu: reset vm state machine after gpu reset(vram lost)

.../bindings/display/panel/samsung,atna33xc20.yaml | 8 +-
Documentation/gpu/amdgpu/display/dcn-blocks.rst | 35 +-----
.../gpu/amdgpu/display/display-manager.rst | 4 +-
drivers/gpu/drm/amd/amdgpu/Makefile | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_df.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 5 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 121 ++++++++++++++-------
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 3 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 53 +++++----
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 9 +-
drivers/gpu/drm/amd/amdgpu/df_v4_15.c | 45 ++++++++
drivers/gpu/drm/amd/amdgpu/df_v4_15.h | 30 +++++
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 27 ++++-
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 12 ++
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c | 2 +-
drivers/gpu/drm/amd/amdgpu/soc24.c | 4 +
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 6 +
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 54 ++++++++-
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 6 +
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 6 +
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 17 ++-
drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 3 +-
.../src/dml2_standalone_libraries/lib_float_math.c | 2 -
drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 22 +++-
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 14 +++
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 15 +++
.../drm/amd/display/dc/link/hwss/link_hwss_dio.c | 29 +++++
.../drm/amd/display/dc/link/hwss/link_hwss_dio.h | 9 --
.../gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c | 15 +--
.../gpu/drm/amd/display/dc/optc/dcn20/dcn20_optc.c | 10 ++
.../drm/amd/include/asic_reg/df/df_4_15_offset.h | 28 +++++
.../drm/amd/include/asic_reg/df/df_4_15_sh_mask.h | 28 +++++
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 16 +--
.../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c | 18 ++-
drivers/gpu/drm/i915/display/intel_dp.c | 2 +
.../gpu/drm/i915/display/intel_dp_link_training.c | 55 ++++++++--
.../gpu/drm/i915/gt/intel_execlists_submission.c | 6 +-
drivers/gpu/drm/i915/intel_memory_region.c | 6 +-
drivers/gpu/drm/v3d/v3d_drv.c | 5 +-
drivers/gpu/drm/v3d/v3d_drv.h | 8 +-
drivers/gpu/drm/v3d/v3d_sched.c | 16 ++-
drivers/gpu/drm/xe/xe_device.c | 20 ++++
drivers/gpu/drm/xe/xe_exec.c | 14 +--
drivers/gpu/drm/xe/xe_gt.c | 15 +++
drivers/gpu/drm/xe/xe_gt.h | 1 +
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 1 +
drivers/gpu/drm/xe/xe_guc.c | 16 +++
drivers/gpu/drm/xe/xe_guc.h | 1 +
drivers/gpu/drm/xe/xe_guc_submit.c | 38 ++++---
drivers/gpu/drm/xe/xe_guc_submit.h | 1 +
drivers/gpu/drm/xe/xe_uc.c | 14 +++
drivers/gpu/drm/xe/xe_uc.h | 1 +
56 files changed, 690 insertions(+), 197 deletions(-)
create mode 100644 drivers/gpu/drm/amd/amdgpu/df_v4_15.c
create mode 100644 drivers/gpu/drm/amd/amdgpu/df_v4_15.h
create mode 100644 drivers/gpu/drm/amd/include/asic_reg/df/df_4_15_offset.h
create mode 100644 drivers/gpu/drm/amd/include/asic_reg/df/df_4_15_sh_mask.h