From: Roman Li <[email protected]> This DC patchset brings improvements in multiple areas. In summary, we highlight:
* Enable sink freesync via MCCS with pcon whitelist adjustments * Rework YCbCr422 DSC policy * Update DML2.1 parameters * Fix coding style issues and compiler warnings Cc: Dan Wheeler <[email protected]> Charlene Liu (2): drm/amd/display: update dcn42 bounding box drm/amd/display: Restore "Move setup_stream_attribute" Chuanyu Tseng (1): drm/amd/display: Fix coding style issue Dmytro Laktyushkin (2): drm/amd/display: update dcn42 memory latencies drm/amd/display: move memory latency update to dml for dcn42 Gaghik Khachatrian (2): drm/amd/display: Fix unused parameters warnings in dml2_0 drm/amd/display: Fix implicit narrowing conversions in modules George Shen (1): drm/amd/display: Remove unnecessary Freesync w/a from DCN32 Nicholas Kazlauskas (5): drm/amd/display: Fix HostVMMinPageSize unit mismatch in DML2.1 drm/amd/display: Correct MALL parameters for DCN42 soc bb drm/amd/display: Pass min page size from SOC BB to dml2_1 plane config drm/amd/display: Fix DCN42 gpuvm_min_page_size_kbytes in SOC BB drm/amd/display: Add DCN42 PMO policy for DML2.1 Relja Vojvodic (1): drm/amd/display: Rework YCbCr422 DSC policy Roman Li (1): drm/amd/display: Drop unused tiling formats from dml2 Taimur Hassan (1): drm/amd/display: Promote DC to 3.2.377 Wayne Lin (5): drm/amd/display: Adjust freesync pcon whitelist drm/amd/display: Parse freesync mccs vcp code drm/amd/display: Read sink freesync support via mccs drm/amd/display: Enable sink freesync via MCCS drm/amd/display: Avoid to do MCCS transaction if unnecessary Zheng, Austin (1): drm/amd/display: Remove Duplicate Prefetch Parameter .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 74 ++++-- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 +- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 241 ++++++++++++++++++ .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- .../display/dc/clk_mgr/dcn42/dcn42_clk_mgr.c | 78 ------ drivers/gpu/drm/amd/display/dc/dc.h | 5 +- drivers/gpu/drm/amd/display/dc/dc_dsc.h | 1 + drivers/gpu/drm/amd/display/dc/dc_types.h | 6 + .../dc/dio/virtual/virtual_stream_encoder.c | 10 + drivers/gpu/drm/amd/display/dc/dm_helpers.h | 10 + .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 37 --- .../gpu/drm/amd/display/dc/dml2_0/Makefile | 1 + .../amd/display/dc/dml2_0/display_mode_core.c | 17 ++ .../amd/display/dc/dml2_0/display_mode_util.c | 14 + .../dml2_0/dml21/dml21_translation_helper.c | 24 +- .../amd/display/dc/dml2_0/dml21/dml21_utils.c | 2 + .../dc/dml2_0/dml21/dml21_wrapper_fpu.c | 2 + .../dml21/inc/bounding_boxes/dcn42_soc_bb.h | 25 +- .../dml21/inc/dml_top_display_cfg_types.h | 14 - .../dml21/src/dml2_core/dml2_core_dcn4.c | 5 +- .../src/dml2_core/dml2_core_dcn4_calcs.c | 37 ++- .../src/dml2_core/dml2_core_shared_types.h | 1 - .../dml21/src/dml2_core/dml2_core_utils.c | 65 +---- .../dml21/src/dml2_core/dml2_core_utils.h | 2 - .../dml21/src/dml2_dpmm/dml2_dpmm_dcn4.c | 1 + .../dml21/src/dml2_dpmm/dml2_dpmm_factory.c | 2 + .../dml21/src/dml2_mcg/dml2_mcg_factory.c | 1 + .../dml21/src/dml2_pmo/dml2_pmo_dcn42.c | 192 ++++++++++++++ .../dml21/src/dml2_pmo/dml2_pmo_dcn42.h | 17 ++ .../dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c | 21 +- .../dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.h | 10 + .../dml21/src/dml2_pmo/dml2_pmo_factory.c | 3 + .../dml21/src/dml2_top/dml2_top_soc15.c | 2 + .../display/dc/dml2_0/dml2_dc_resource_mgmt.c | 9 + .../dc/dml2_0/dml2_translation_helper.c | 6 + .../drm/amd/display/dc/dml2_0/dml2_utils.c | 1 + .../dc/dml2_0/dml_display_rq_dlg_calc.c | 1 + drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 13 +- .../drm/amd/display/dc/dsc/dcn20/dcn20_dsc.c | 2 +- .../drm/amd/display/dc/dsc/dcn35/dcn35_dsc.c | 2 +- .../amd/display/dc/dsc/dcn401/dcn401_dsc.c | 2 +- .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 2 + .../drm/amd/display/dc/link/link_detection.c | 25 +- .../gpu/drm/amd/display/dc/link/link_dpms.c | 6 +- .../dc/link/protocols/link_dp_capability.c | 5 +- .../dc/resource/dcn31/dcn31_resource.c | 2 + .../dc/resource/dcn315/dcn315_resource.c | 2 + .../dcn42/dcn42_soc_and_ip_translator.c | 4 + .../amd/display/include/ddc_service_types.h | 1 + .../amd/display/modules/freesync/freesync.c | 32 ++- .../amd/display/modules/power/power_helpers.c | 49 ++-- .../gpu/drm/amd/display/modules/vmid/vmid.c | 8 +- 52 files changed, 799 insertions(+), 302 deletions(-) create mode 100644 drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn42.c create mode 100644 drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn42.h -- 2.34.1
