Hi Dave, Simona, Fixes for 6.13. The following changes since commit a163b895077861598be48c1cf7f4a88413c28b22: Merge tag 'drm-xe-next-fixes-2024-11-15' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next (2024-11-18 13:38:46 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.13-2024-11-22 for you to fetch changes up to 979bfe291b5b30a9132c2fd433247e677b24c6aa: Revert "drm/radeon: Delay Connector detecting when HPD singals is unstable" (2024-11-21 15:56:23 -0500) ---------------------------------------------------------------- amd-drm-fixes-6.13-2024-11-22: amdgpu: - SMU 13.0.6 fixes - XGMI fixes - SMU 13.0.7 fixes - Misc code cleanups - Plane refcount fixes - DCN 4.0.1 fixes - DC power fixes - DTO fixes - NBIO 7.11 fixes - SMU 14.0.x fixes - Reset fixes - Enable DC on LoongArch - Sysfs hotplug warning fix - Misc small fixes - VCN 4.0.3 fix - Slab usage fix - Jpeg delayed work fix amdkfd: - wptr handling fixes radeon: - Use ttm_bo_move_null() - Constify struct pci_device_id - Fix spurious hotplug - HPD fix ---------------------------------------------------------------- Alex Deucher (3): drm/amdgpu/gmc7: fix wait_for_idle callers drm/amdgpu/jpeg: cancel the jpeg worker Revert "drm/radeon: Delay Connector detecting when HPD singals is unstable" Aric Cyr (1): drm/amd/display: 3.2.310 Asad Kamal (3): drm/amd/pm: Update data types used for uapi i/f drm/amd/pm: Add gpu_metrics_v1_7 drm/amd/pm: Get xgmi link status for XGMI_v_6_4_0 Austin Zheng (1): drm/amd/display: Populate Power Profile In Case of Early Return Bhavin Sharma (2): drm/amd/pm: remove redundant tools_size check drm/amd/display: remove redundant is_dsc_possible check Chris Park (1): drm/amd/display: Ignore scalar validation failure if pipe is phantom Christophe JAILLET (1): drm/radeon: Constify struct pci_device_id Dillon Varone (1): drm/amd/display: Enable Request rate limiter during C-State on dcn401 Huacai Chen (2): drm/radeon: Use ttm_bo_move_null() in radeon_bo_move() drm/amd/display: Allow building DC with clang on LoongArch Jesse.zhang@xxxxxxx (2): drm/amdgpu: Add sysfs interface for vcn reset mask drm/amdgpu: Fix sysfs warning when hotplugging Joshua Aberback (1): drm/amd/display: Fix handling of plane refcount Kenneth Feng (3): drm/amdgpu/pm: add gen5 display to the user on smu v14.0.2/3 drm/amd/pm: disable pcie speed switching on Intel platform for smu v14.0.2/3 drm/amd/pm: skip setting the power source on smu v14.0.2/3 Lijo Lazar (4): drm/amdgpu: Add init level for post reset reinit drm/amdgpu: Use reset recovery state checks drm/amdkfd: Use the correct wptr size drm/amd/pm: Remove arcturus min power limit Mario Limonciello (2): drm/amd: Add some missing straps from NBIO 7.11.0 drm/amd: Fix initialization mistake for NBIO 7.11 devices Ovidiu Bunea (1): drm/amd/display: Remove PIPE_DTO_SRC_SEL programming from set_dtbclk_dto Samson Tam (2): drm/amd/display: add public taps API in SPL drm/amd/display: allow chroma 1:1 scaling when sharpness is off Steven 'Steve' Kendall (1): drm/radeon: Fix spurious unplug event on radeon HDMI Umio Yasuno (1): drm/amd/pm: update current_socclk and current_uclk in gpu_metrics on smu v13.0.7 Victor Zhao (1): drm/amdkfd: make sure ring buffer is flushed before update wptr Vitaly Prosyak (1): drm/amdgpu: fix usage slab after free Xiang Liu (1): drm/amdgpu/vcn: reset fw_shared when VCPU buffers corrupted on vcn v4.0.3 Yihan Zhu (1): drm/amd/display: update pipe selection policy to check head pipe Zicheng Qu (2): drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp drivers/gpu/drm/amd/amdgpu/aldebaran.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 29 ++++- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 37 +++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 41 +++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 2 + drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 4 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 18 +++- drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_11.c | 9 ++ drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c | 2 + drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c | 2 + drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 9 ++ drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 39 +++++-- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 10 ++ drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 7 +- drivers/gpu/drm/amd/display/Kconfig | 15 +-- drivers/gpu/drm/amd/display/dc/core/dc.c | 7 +- .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 3 + drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 8 ++ drivers/gpu/drm/amd/display/dc/dc.h | 2 +- .../gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c | 15 +-- .../dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 6 ++ .../amd/display/dc/dml2/dml2_dc_resource_mgmt.c | 23 +++- drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 13 +-- .../drm/amd/display/dc/hubbub/dcn10/dcn10_hubbub.h | 8 +- .../drm/amd/display/dc/hubbub/dcn20/dcn20_hubbub.h | 1 + .../amd/display/dc/hubbub/dcn401/dcn401_hubbub.c | 24 ++++- .../amd/display/dc/hubbub/dcn401/dcn401_hubbub.h | 7 +- .../drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 6 +- .../drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 13 ++- drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 2 +- .../display/dc/resource/dcn401/dcn401_resource.h | 3 +- drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 97 +++++++++++------ drivers/gpu/drm/amd/display/dc/spl/dc_spl.h | 2 + .../amd/include/asic_reg/nbio/nbio_7_11_0_offset.h | 2 + .../include/asic_reg/nbio/nbio_7_11_0_sh_mask.h | 13 +++ drivers/gpu/drm/amd/include/kgd_pp_interface.h | 118 ++++++++++++++++++++- .../drm/amd/pm/powerplay/smumgr/vega12_smumgr.c | 24 ++--- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 8 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 6 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 12 ++- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 + drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 2 +- .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 33 ++++-- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 3 + drivers/gpu/drm/radeon/radeon_audio.c | 12 ++- drivers/gpu/drm/radeon/radeon_connectors.c | 10 -- drivers/gpu/drm/radeon/radeon_drv.c | 3 +- drivers/gpu/drm/radeon/radeon_ttm.c | 3 +- 67 files changed, 626 insertions(+), 166 deletions(-)