This DC patchset brings improvements in multiple areas. In summary, we highlight: - Correct DML calculation - Extend Freesync over Pcon support - Fixes in pstate hang and more - Code cleanup for dc_link.h and dc_link.c Cc: Daniel Wheeler <daniel.wheeler@xxxxxxx> Alex Hung (1): drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes Alvin Lee (1): drm/amd/display: DAL to program DISPCLK WDIVIDER if PMFW doesn't Aric Cyr (6): drm/amd/display: Reduce CPU busy-waiting for long delays Revert "drm/amd/display: Do not set DRR on pipe commit" Revert "drm/amd/display: Fix FreeSync active bit issue" drm/amd/display: Do not update DRR while BW optimizations pending drm/amd/display: Only wait for blank completion if OTG active drm/amd/display: Promote DAL to 3.2.224 Ayush Gupta (1): drm/amd/display: populate subvp cmd info only for the top pipe Hersen Wu (1): drm/amd/display: dcn32/321 dsc_pg_control not executed properly Jasdeep Dhillon (1): drm/amd/display: Updating Video Format Fall Back Policy. Mustapha Ghaddar (2): drm/amd/display: Allocation at stream Enable drm/amd/display: Update BW ALLOCATION Function declaration Paul Hsieh (1): drm/amd/display: Correct DML calculation as HW SpreadSheet Ryan Lin (1): drm/amd/display: Ext displays with dock can't recognized after resume Samson Tam (1): drm/amd/display: enable DPG when disabling plane for phantom pipe Sung Joon Kim (1): drm/amd/display: Extend Freesync over PCon support for more devices Wenjing Liu (2): drm/amd/display: merge dc_link.h into dc.h and dc_types.h drm/amd/display: remove empty dc_link.c Yihan Zhu (1): drm/amd/display: update pixel format in DP hw sequence .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 17 +- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 2 + .../gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 4 +- .../display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 41 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 253 +++----- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 27 - .../drm/amd/display/dc/core/dc_link_exports.c | 87 +++ drivers/gpu/drm/amd/display/dc/dc.h | 556 +++++++++++++++++- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 3 +- drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 107 ++++ drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 14 + drivers/gpu/drm/amd/display/dc/dc_link.h | 8 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 104 ++++ drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 9 +- drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +- drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c | 2 +- drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 2 +- drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h | 5 +- .../display/dc/dce110/dce110_hw_sequencer.c | 2 +- .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +- .../drm/amd/display/dc/dcn20/dcn20_hwseq.c | 9 + .../dc/dcn30/dcn30_dio_stream_encoder.c | 1 + .../drm/amd/display/dc/dcn30/dcn30_hwseq.c | 10 +- .../dc/dcn31/dcn31_hpo_dp_link_encoder.c | 1 - .../dc/dcn31/dcn31_hpo_dp_stream_encoder.c | 2 +- .../dc/dcn314/dcn314_dio_stream_encoder.c | 6 + .../dc/dcn32/dcn32_hpo_dp_link_encoder.c | 1 - .../drm/amd/display/dc/dcn32/dcn32_hwseq.c | 21 +- .../drm/amd/display/dc/dcn32/dcn32_resource.c | 1 + .../amd/display/dc/dcn321/dcn321_resource.c | 1 + .../dc/dml/dcn30/display_mode_vba_30.c | 6 +- .../dc/dml/dcn31/display_mode_vba_31.c | 299 ++++++---- .../dc/dml/dcn314/display_mode_vba_314.c | 299 ++++++---- .../dc/dml/dcn32/display_mode_vba_32.c | 1 - .../gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 14 - .../drm/amd/display/dc/inc/hw/link_encoder.h | 52 -- .../amd/display/dc/inc/hw/stream_encoder.h | 1 - drivers/gpu/drm/amd/display/dc/inc/link.h | 1 - .../display/dc/link/accessories/link_dp_cts.c | 17 - .../drm/amd/display/dc/link/link_detection.c | 99 ++++ .../gpu/drm/amd/display/dc/link/link_dpms.c | 15 +- .../amd/display/dc/link/protocols/link_ddc.h | 1 + .../dc/link/protocols/link_dp_capability.c | 10 +- .../display/dc/link/protocols/link_dp_dpia.c | 1 - .../dc/link/protocols/link_dp_dpia_bw.c | 38 +- .../dc/link/protocols/link_dp_dpia_bw.h | 14 +- .../dc/link/protocols/link_dp_training.c | 7 +- .../dc/link/protocols/link_dp_training_dpia.c | 3 +- .../link/protocols/link_edp_panel_control.c | 4 +- .../amd/display/include/link_service_types.h | 26 - .../amd/display/modules/freesync/freesync.c | 12 +- .../drm/amd/display/modules/inc/mod_hdcp.h | 1 + 54 files changed, 1618 insertions(+), 606 deletions(-) delete mode 100644 drivers/gpu/drm/amd/display/dc/core/dc_link.c -- 2.34.1