This DC patchset brings improvements in multiple areas. In summary, we have:
* Fixes on DCN4, cursor, and others; * Improvements on DPM, DCN4, DCC, and others; * Code cleanup. Cc: Dan Wheeler <[email protected]> Alex Hung (1): drm/amd/display: Remove redundant IPS mode case for DCN 4.2 Alvin Lee (1): drm/amd/display: Update LSDMA commands to explicitly handle DCC fields Austin Zheng (2): drm/amd/display: Allow Per-DPM De-rates Instead Of A Single Global Value Add Debug Option To Enable Per-DPM De-rate Usage Chandana G B (1): drm/amd/display: Fix intermittently CRC open failure during active rendering Gabe Teeger (1): drm/amd/display: Enable PSR and Replay on DCN4 variant and fix AUX instance George Shen (1): drm/amd/display: Add flag to disable dynamic expansion for 12bpc Harry Wentland (2): drm/amd/display: drop redundant colorop type and TF checks drm/amd/display: split TF/LUT colorop state lookups into separate upfront phases Ivan Lipski (1): drm/amd/display: Reintroduce "Force validation link training on all ASICs" Karen Chen (1): drm/amd/display: Disable DPPCLK RCG to fix cursor disappearing Leo Chen (4): drm/amd/display: Update ONO PG Workaround for DCN42 drm/amd/display: Remove unnecessary DSCCLK enable during DSC PG drm/amd/display: Enable HUBP/DPP power gate for DCN42 drm/amd/display: Refactor Driver PG's skip PG logic Lohita Mudimela (1): drm/amd/display: Integrate power_helpers.c functionality into power.c. Matthew Stewart (4): drm/amd/display: Add dcn42b_soc_and_ip_translator drm/amd/display: Fix DCN42 null registers & register masks drm/amd/display: Rewrite dccg42_init drm/amd/display: Remove DCCG registers not needed in DCN42 Michael Strauss (1): drm/amd/display: Add 12bpc Color Ramp Support Piotr Maziarz (1): drm/amd/display: Explicitly declare unsigned ints Taimur Hassan (2): drm/amd/display: [FW Promotion] Release 0.1.64.0 drm/amd/display: Promote DC to 3.2.387 .../amd/display/amdgpu_dm/amdgpu_dm_color.c | 96 +++---- .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_dmub.c | 4 - .../amdgpu_dm/tests/amdgpu_dm_dmub_test.c | 18 -- .../gpu/drm/amd/display/dc/core/dc_resource.c | 11 +- drivers/gpu/drm/amd/display/dc/dc.h | 6 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 29 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h | 34 ++- drivers/gpu/drm/amd/display/dc/dc_types.h | 1 + .../amd/display/dc/dccg/dcn42/dcn42_dccg.c | 53 ++-- .../amd/display/dc/dccg/dcn42/dcn42_dccg.h | 63 +++-- .../dc/dml/dcn31/display_mode_vba_31.c | 2 +- .../dc/dml/dcn314/display_mode_vba_314.c | 2 +- .../dml21/inc/bounding_boxes/dcn42b_soc_bb.h | 38 +++ .../dml21/inc/dml_top_soc_parameter_types.h | 13 + .../src/dml2_core/dml2_core_dcn4_calcs.c | 41 ++- drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 1 + .../drm/amd/display/dc/link/link_detection.c | 2 +- .../dc/link/protocols/link_dp_panel_replay.c | 6 +- .../link/protocols/link_edp_panel_control.c | 11 +- .../drm/amd/display/dc/opp/dcn20/dcn20_opp.c | 51 +++- .../amd/display/dc/pg/dcn42/dcn42_pg_cntl.c | 258 +++++++++--------- .../amd/display/dc/pg/dcn42/dcn42_pg_cntl.h | 22 +- .../dc/resource/dcn30/dcn30_resource.c | 1 - .../dc/resource/dcn302/dcn302_resource.c | 1 - .../dc/resource/dcn303/dcn303_resource.c | 1 - .../dc/resource/dcn31/dcn31_resource.c | 1 - .../dc/resource/dcn315/dcn315_resource.c | 1 - .../dc/resource/dcn316/dcn316_resource.c | 1 - .../dc/resource/dcn32/dcn32_resource.c | 1 - .../dc/resource/dcn321/dcn321_resource.c | 1 - .../dc/resource/dcn35/dcn35_resource.c | 1 - .../dc/resource/dcn351/dcn351_resource.c | 1 - .../dc/resource/dcn36/dcn36_resource.c | 1 - .../dc/resource/dcn42/dcn42_resource.c | 4 +- .../display/dc/soc_and_ip_translator/Makefile | 3 + .../dcn401/dcn401_soc_and_ip_translator.c | 16 ++ .../dcn42/dcn42_soc_and_ip_translator.c | 18 +- .../dcn42/dcn42_soc_and_ip_translator.h | 1 + .../dcn42b/dcn42b_soc_and_ip_translator.c | 42 +++ .../dcn42b/dcn42b_soc_and_ip_translator.h | 17 ++ .../soc_and_ip_translator.c | 5 +- .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 111 +++++++- .../drm/amd/display/modules/power/Makefile | 2 +- .../gpu/drm/amd/display/modules/power/power.c | 5 + .../amd/display/modules/power/power_helpers.c | 39 --- 46 files changed, 658 insertions(+), 380 deletions(-) create mode 100644 drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn42b/dcn42b_soc_and_ip_translator.c create mode 100644 drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn42b/dcn42b_soc_and_ip_translator.h delete mode 100644 drivers/gpu/drm/amd/display/modules/power/power_helpers.c -- 2.54.0
