[AMD Official Use Only - AMD Internal Distribution Only] IGNORE -----Original Message----- From: Mohamed, Zaeem <Zaeem.Mohamed@xxxxxxx> Sent: Thursday, June 6, 2024 4:58 PM To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx Cc: Wentland, Harry <Harry.Wentland@xxxxxxx>; Li, Sun peng (Leo) <Sunpeng.Li@xxxxxxx>; Siqueira, Rodrigo <Rodrigo.Siqueira@xxxxxxx>; Pillai, Aurabindo <Aurabindo.Pillai@xxxxxxx>; Li, Roman <Roman.Li@xxxxxxx>; Lin, Wayne <Wayne.Lin@xxxxxxx>; Gutierrez, Agustin <Agustin.Gutierrez@xxxxxxx>; Chung, ChiaHsuan (Tom) <ChiaHsuan.Chung@xxxxxxx>; Zuo, Jerry <Jerry.Zuo@xxxxxxx>; Mohamed, Zaeem <Zaeem.Mohamed@xxxxxxx>; Wheeler, Daniel <Daniel.Wheeler@xxxxxxx> Subject: [PATCH 00/67] DC Patches June 3, 2024 This DC ptchset brings improvements in multiple areas. In summary, we have: * FW Release 0.0.221.0 * Fixed missing targets in FAMS2 * Populate hardware_release hook for dcn401 * Disable DMCUB timeout for DCN35 * Move PRIMARY plane zpos higher * Introduce overlay cursor mode * Change dram_clock_latency for dcn35 and dcn351 * DCN401 cursor code update Cc: Daniel Wheeler <daniel.wheeler@xxxxxxx> Alex Hung (6): drm/amd/display: Fix incorrect size calculation for loop in dcn401 drm/amd/display: Fix uninitialized variables in dcn401 drm/amd/display: Remove useless comparison of unsigned int vs. 0 drm/amd/display: Remove NO_EFFECT self-assignment drm/amd/display: Explicitly cast v_total to signed in a subtraction drm/amd/display: Avoid overflow from uint32_t to uint8_t Alvin Lee (3): drm/amd/display: Remove NULL assignment for stream_status drm/amd/display: Ignore phantom DTBCLK requirement drm/amd/display: populate hardware_release hook for dcn401 Anthony Koo (2): drm/amd/display: [FW Promotion] Release 0.0.220.0 drm/amd/display: [FW Promotion] Release 0.0.221.0 Aric Cyr (1): drm/amd/display: 3.2.288 Chris Park (3): drm/amd/display: Change AVI Info Frame version to 4 for OVT drm/amd/display: Prevent overflow on DTO calculation drm/amd/display: Avoid programming DTO if Refclk is 0 ChunTao Tso (2): drm/amd/display: Replay low hz drm/amd/display: Replay + IPS + ABM in Full Screen VPB Daniel Miess (2): drm/amd/display: Change dram_clock_latency to 34us for dcn351 drm/amd/display: Disable PHYSYMCLK RCO Daniel Sa (1): drm/amd/display: Return after Init Dennis Chan (1): drm/amd/display: Fix Replay Desync Error Test Dillon Varone (5): drm/amd/display: Block SubVP if hardware rotation is used in DML2.1 drm/amd/display: Add null check for phantom pipes in prepare mcache drm/amd/display: Fix missed targets in FAMS2+HWFQ drm/amd/display: Do not override dml2.1 reinit drm/amd/display: Update idle hardmins if uclk or fclk requirement changed Fangzhi Zuo (1): drm/amd/display: Update efficiency bandwidth for dcn351 George Shen (1): drm/amd/display: Ignore UHBR13.5 cable ID cap for passive cable max link rate Ivan Lipski (5): drm/amd/display: Remove redundant if conditions drm/amd/display: Remove unreachable check drm/amd/display: Remove redundant ternary operation drm/amd/display: Remove duplicate 'update_idle_uclk' in dcn401 clk_mgr code drm/amd/display: Remove reduntant comparisons by Coverity JinZe.Xu (1): drm/amd/display: Disable IPS when it is not allowed. Joshua Aberback (1): drm/amd/display: Disable boot optimization for DCN401 Josip Pavic (1): drm/amd/display: define abm debug interface Leo Li (2): drm/amd/display: Introduce overlay cursor mode drm/amd/display: Move PRIMARY plane zpos higher Leon Huang (1): drm/amd/display: Expand supported Replay residency mode Michael Strauss (2): drm/amd/display: Update FIXED_VS retimer training pattern delay drm/amd/display: Add fallback defaults for invalid LTTPR DPCD caps Nevenko Stupar (1): drm/amd/display: Fix multiple cursors when using 4 displays on a contiguous large surface Nicholas Kazlauskas (3): drm/amd/display: Add sequential ONO sequencing for DCN35 drm/amd/display: Remove register from DCN35 DMCUB diagnostic collection drm/amd/display: Disable DMCUB timeout for DCN35 Paul Hsieh (1): drm/amd/display: change dram_clock_latency to 34us for dcn35 Rodrigo Siqueira (2): drm/amd/display: Use the SPDX license identifier for dmub_replay files drm/amd/display: Check otg_master pointer before use it Roman Li (1): drm/amd/display: Add config support entry to replay caps debugfs Sridevi Arvindekar (2): drm/amd/display: DCN401 cusor code update drm/amd/display: Minor cleanup for DCN401 cursor related code Sung-huai Wang (1): Revert "drm/amd/display: Handle HPD_IRQ for internal link" Wayne Lin (5): drm/amd/display: Adjust debug msg for usb4/tbt drm/amd/display: Defer the setting of link hpd status for usb4/tbt drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode() Wenjing Liu (7): drm/amd/display: use even ODM slice width for two pixels per container drm/amd/display: add odm_slice_rect parameter in spl_in drm/amd/display: reduce ODM slice count to initial new dc state only when needed drm/amd/display: remove dpp pipes on failure to update pipe params drm/amd/display: remove ODM combine before bandwidth validation drm/amd/display: use preferred link settings for dp signal only drm/amd/display: make ODM segment width of YCbCr422 two pixel aligned Zaeem Mohamed (1): drm/amd/display: Remove dcn32_smu13 duplicate header pochchan (1): drm/amd/display: Use TPS3 for ALPM on Specific Panel winstang (1): drm/amd/display: added NULL check at start of dc_validate_stream .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 589 +++++++++++++----- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 9 +- .../amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 1 + .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 248 +++++--- .../amd/display/amdgpu_dm/amdgpu_dm_plane.c | 29 +- .../drm/amd/display/dc/basics/fixpt31_32.c | 4 - .../amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c | 8 +- .../display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 8 +- .../display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 2 +- .../dc/clk_mgr/dcn32/dcn32_clk_mgr_smu_msg.c | 2 +- .../dc/clk_mgr/dcn32/smu13_driver_if.h | 108 ---- .../dc/clk_mgr/dcn401/dcn401_clk_mgr.c | 2 +- .../gpu/drm/amd/display/dc/core/dc_resource.c | 90 ++- .../gpu/drm/amd/display/dc/core/dc_state.c | 67 +- .../gpu/drm/amd/display/dc/core/dc_stream.c | 4 +- drivers/gpu/drm/amd/display/dc/dc.h | 4 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 5 +- .../gpu/drm/amd/display/dc/dc_spl_translate.c | 5 +- .../amd/display/dc/dccg/dcn401/dcn401_dccg.c | 6 +- .../drm/amd/display/dc/dce/dce_clock_source.c | 12 +- .../drm/amd/display/dc/dce/dce_mem_input.c | 6 +- .../gpu/drm/amd/display/dc/dce/dmub_abm_lcd.c | 2 +- .../gpu/drm/amd/display/dc/dce/dmub_replay.c | 124 ++-- .../gpu/drm/amd/display/dc/dce/dmub_replay.h | 35 +- .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.c | 6 +- .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 2 + .../drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 2 +- .../amd/display/dc/dml/dcn351/dcn351_fpu.c | 2 +- .../amd/display/dc/dml2/dml21/dml21_wrapper.c | 10 +- .../src/dml2_core/dml2_core_dcn4_calcs.c | 14 +- .../dml21/src/dml2_core/dml2_core_shared.c | 4 - .../dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c | 3 +- .../display/dc/dml2/dml2_translation_helper.c | 1 + .../drm/amd/display/dc/dml2/dml2_wrapper.c | 4 +- .../drm/amd/display/dc/dpp/dcn30/dcn30_dpp.c | 5 - .../amd/display/dc/dpp/dcn401/dcn401_dpp.c | 5 - drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c | 11 +- .../gpu/drm/amd/display/dc/gpio/hw_generic.c | 2 +- drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 2 +- .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 5 + .../amd/display/dc/hwss/dcn21/dcn21_hwseq.c | 2 +- .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 85 ++- .../amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 85 ++- .../amd/display/dc/hwss/dcn401/dcn401_hwseq.h | 2 +- .../amd/display/dc/hwss/dcn401/dcn401_init.c | 2 +- .../gpu/drm/amd/display/dc/irq/irq_service.c | 2 +- .../link_hwss_hpo_fixed_vs_pe_retimer_dp.c | 6 +- .../dc/link/protocols/link_dp_capability.c | 46 +- .../dc/link/protocols/link_dp_irq_handler.c | 24 +- .../dc/link/protocols/link_dp_training.c | 8 +- .../dc/resource/dcn20/dcn20_resource.c | 4 +- .../dc/resource/dcn30/dcn30_resource.c | 3 - .../dc/resource/dcn35/dcn35_resource.c | 7 +- .../dc/resource/dcn351/dcn351_resource.c | 2 +- .../dc/resource/dcn401/dcn401_resource.c | 1 + drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 32 +- .../gpu/drm/amd/display/dc/spl/dc_spl_types.h | 4 +- .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 157 ++++- .../gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 5 +- 60 files changed, 1226 insertions(+), 700 deletions(-) delete mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/smu13_driver_if.h -- 2.34.1