Hi Dave, Sima, Fixes for 6.9. Fairly big because it's about 3 weeks of fixes. The following changes since commit 119b225f01e4d3ce974cd3b4d982c76a380c796d: Merge tag 'amd-drm-next-6.9-2024-03-08-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2024-03-11 13:32:12 +1000) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.9-2024-03-21 for you to fetch changes up to bc55c344b06f7e6f99eb92d393ff0a84c1532514: drm/amdgpu/pm: Don't use OD table on Arcturus (2024-03-20 13:36:29 -0400) ---------------------------------------------------------------- amd-drm-fixes-6.9-2024-03-21: amdgpu: - Freesync fixes - UAF IOCTL fixes - Fix mmhub client ID mapping - IH 7.0 fix - DML2 fixes - VCN 4.0.6 fix - GART bind fix - GPU reset fix - SR-IOV fix - OD table handling fixes - Fix TA handling on boards without display hardware - DML1 fix - ABM fix - eDP panel fix - DPPCLK fix - HDCP fix - Revert incorrect error case handling in ioremap - VPE fix - HDMI fixes - SDMA 4.4.2 fix - Other misc fixes amdkfd: - Fix duplicate BO handling in process restore ---------------------------------------------------------------- Ahmad Rehman (1): drm/amdgpu: Init zone device and drm client after mode-1 reset on reload Allen Pan (1): drm/amd/display: Add a dc_state NULL check in dc_state_release Aurabindo Pillai (1): drm/amd/display: Enable DML2 debug flags ChunTao Tso (1): drm/amd/display: Amend coasting vtotal for replay low hz Dillon Varone (1): drm/amd/display: Init DPPCLK from SMU on dcn32 Friedrich Vock (1): drm/amdgpu: Reset IH OVERFLOW_EN bit for IH 7.0 Hawking Zhang (1): drm/amdgpu: Bypass display ta if display hw is not available Josip Pavic (1): drm/amd/display: Allow dirty rects to be sent to dmub when abm is active Lang Yu (2): drm/amdgpu: fix mmhub client id out-of-bounds access Revert "drm/amdgpu/vpe: don't emit cond exec command under collaborate mode" Le Ma (1): drm/amdgpu: drop setting buffer funcs in sdma442 Leo Ma (1): drm/amd/display: Fix noise issue on HDMI AV mute Ma Jun (4): drm/amdgpu/pm: Fix NULL pointer dereference when get power limit drm/amdgpu/pm: Check the validity of overdiver power limit Revert "drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()" drm/amdgpu/pm: Don't use OD table on Arcturus Mario Limonciello (1): drm/amd/display: Use freesync when `DRM_EDID_FEATURE_CONTINUOUS_FREQ` found Mukul Joshi (1): drm/amdgpu: Handle duplicate BOs during process restore Nicholas Kazlauskas (1): drm/amd/display: Fix idle check for shared firmware state Philip Yang (1): drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag Prike Liang (1): drm/amdgpu: correct the KGQ fallback message Rodrigo Siqueira (1): drm/amd/display: Return the correct HDCP error code Ryan Lin (1): drm/amd/display: Add monitor patch for specific eDP Saleemkhan Jamadar (1): drm/amdgpu/vcn: enable vcn1 fw load for VCN 4_0_6 Sohaib Nadeem (1): drm/amd/display: Override min required DCFCLK in dml1_validate Swapnil Patel (1): drm/amd/display: Change default size for dummy plane in DML2 Vitaly Prosyak (1): drm/amdgpu: fix use-after-free bug Wenjing Liu (4): drm/amd/display: Update odm when ODM combine is changed on an otg master pipe with no plane drm/amd/display: Lock all enabled otg pipes even with no planes drm/amd/display: Implement wait_for_odm_update_pending_complete drm/amd/display: Revert Remove pixle rate limit for subvp ZhenGuo Yin (1): drm/amdgpu: Skip access PF-only registers on gfx10/gfxhub2_1 under SRIOV drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 14 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 16 ++--- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c | 20 ++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 18 ++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 38 ++++++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 3 - drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 8 ++- drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 3 + drivers/gpu/drm/amd/amdgpu/ih_v7_0.c | 6 ++ drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c | 7 +-- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 23 +------ drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 8 ++- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 10 +-- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c | 4 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 25 +++++--- .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 +- .../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 14 +++++ drivers/gpu/drm/amd/display/dc/core/dc.c | 71 +++++++++++++++++++--- drivers/gpu/drm/amd/display/dc/core/dc_state.c | 3 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 4 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_opp.c | 1 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c | 14 +++++ drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.h | 2 + drivers/gpu/drm/amd/display/dc/dcn201/dcn201_opp.c | 1 + .../amd/display/dc/dcn32/dcn32_resource_helpers.c | 6 ++ .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 1 + .../amd/display/dc/dml2/dml2_translation_helper.c | 18 +++++- drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c | 28 ++++++--- drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h | 3 + .../drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 45 +++++++------- .../drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 12 +++- .../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 30 +++++++++ .../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.h | 2 + .../gpu/drm/amd/display/dc/hwss/dcn32/dcn32_init.c | 2 +- drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 3 + .../drm/amd/display/dc/inc/hw/timing_generator.h | 1 + drivers/gpu/drm/amd/display/dc/inc/link.h | 4 +- .../dc/link/protocols/link_edp_panel_control.c | 4 +- .../dc/link/protocols/link_edp_panel_control.h | 4 +- .../gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.h | 3 +- .../gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.c | 8 +++ .../gpu/drm/amd/display/dc/optc/dcn32/dcn32_optc.h | 1 + .../amd/display/dc/resource/dcn32/dcn32_resource.c | 3 + .../amd/display/dc/resource/dcn32/dcn32_resource.h | 3 + .../display/dc/resource/dcn321/dcn321_resource.c | 2 + drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 8 +++ .../gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 3 + .../drm/amd/display/modules/power/power_helpers.c | 2 +- .../drm/amd/display/modules/power/power_helpers.h | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 28 ++------- drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 19 +++--- .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 31 ++++++---- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 18 +++--- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 18 +++--- 64 files changed, 456 insertions(+), 215 deletions(-)