[AMD Official Use Only - General] Hi all, This week this patchset was tested on the following systems: HP Envy 360, with Ryzen 5 4500U Lenovo Thinkpad T14s Gen2, with AMD Ryzen 5 5650U Sapphire Pulse RX5700XT Reference AMD RX6800 Engineering board with Ryzen 9 5900H These systems were tested on the following display types: eDP, (1080p 60hz [4500U, 5650U, 5900H]) VGA and DVI (1680x1050 60HZ [DP to VGA/DVI, USB-C to DVI/VGA]) DP/HDMI/USB-C (1440p 170hz, 4k 60hz, 4k 144hz [Includes USB-C to DP/HDMI adapters]) MST tested with Startech MST14DP123DP and 2x 4k 60Hz displays DSC tested with Cable Matters 101075 (DP to 3x DP), and 201375 (USB-C to 3x DP) with 3x 4k60 displays The testing is a mix of automated and manual tests. Manual testing includes (but is not limited to): Changing display configurations and settings Benchmark testing Feature testing (Freesync, etc.) Automated testing includes (but is not limited to): Script testing (scripts to automate some of the manual checks) IGT testing The patchset consists of the amd-staging-drm-next branch (Head commit - 83ace616212127dcf707897e39196f45f5bede29 -> drm/amd/display: 3.2.196) with new patches added on top of it. This branch is used for both Ubuntu and Chrome OS testing (ChromeOS on a bi-weekly basis). Tested on Ubuntu 22.04 and Chrome OS Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx> Thank you, Dan Wheeler Sr. Technologist | AMD SW Display ------------------------------------------------------------------------------------------------------------------ 1 Commerce Valley Dr E, Thornhill, ON L3T 7X6 amd.com -----Original Message----- From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Tom Chung Sent: August 5, 2022 1:58 PM To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx Cc: Wang, Chao-kai (Stylon) <Stylon.Wang@xxxxxxx>; Chung, ChiaHsuan (Tom) <ChiaHsuan.Chung@xxxxxxx>; Li, Sun peng (Leo) <Sunpeng.Li@xxxxxxx>; Wentland, Harry <Harry.Wentland@xxxxxxx>; Zhuo, Qingqing (Lillian) <Qingqing.Zhuo@xxxxxxx>; Siqueira, Rodrigo <Rodrigo.Siqueira@xxxxxxx>; Li, Roman <Roman.Li@xxxxxxx>; Chiu, Solomon <Solomon.Chiu@xxxxxxx>; Pillai, Aurabindo <Aurabindo.Pillai@xxxxxxx>; Lin, Wayne <Wayne.Lin@xxxxxxx>; Lakha, Bhawanpreet <Bhawanpreet.Lakha@xxxxxxx>; Gutierrez, Agustin <Agustin.Gutierrez@xxxxxxx>; Kotarac, Pavle <Pavle.Kotarac@xxxxxxx> Subject: [PATCH 00/32] DC Patches July 29 2022 This DC patchset brings along following fixes: - Move fpu file to dml folder - Fix CAB allocation for multiple displays - Add a variable to update FCLK - Fix TMDS 4K@60Hz YCbCr420 corruption issue - Fix MPC tree infinite loop in some case - Fix SubVP calculations - Fix HDMI VSIF V3 blank screen issue - Add some documentation to the code - Allow alternate prefetch modes in DML for DCN32 - Fix VPG instancing for dcn314 HPO - Check correct bounds for stream encoder instances for DCN303 - Enable SubVP by default on DCN32 & DCN321 - Fix DTBCLK not correct for dcn314 - Fix Compile-time warning - Fix the stereo mode hang issue - Fix display light up issue Alvin Lee (8): drm/amd/display: Revert "fix 32 bit compilation errors in dc_dmub_srv.c" drm/amd/display: Add a variable to update FCLK latency drm/amd/display: Refactor SubVP calculation to remove FPU drm/amd/display: Add 16 lines margin for SubVP drm/amd/display: Fix subvp calculations drm/amd/display: Revert "attempt to fix the logic in commit_planes_for_stream()" drm/amd/display: For stereo keep "FLIP_ANY_FRAME" drm/amd/display: Don't try to enter MALL SS if stereo3d Aric Cyr (1): drm/amd/display: 3.2.197 Aurabindo Pillai (3): drm/amd/display: fix CAB allocation for multiple displays drm/amd/display: Check correct bounds for stream encoder instances for DCN303 drm/amd/display: Enable SubVP by default on DCN32 & DCN321 Chiawen Huang (1): drm/amd/display: Device flash garbage before get in OS Daniel Miess (2): drm/amd/display: Use pixels per container logic for DCN314 DCCG dividers drm/amd/display: Fix TMDS 4K@60Hz YCbCr420 corruption issue David Galiffi (2): drm/amd/display: Allow alternate prefetch modes in DML for DCN32 drm/amd/display: Fix Compile-time Warning Duncan Ma (2): drm/amd/display: Fix VPG instancing for dcn314 HPO drm/amd/display: Correct DTBCLK for dcn314 Fudong Wang (1): drm/amd/display: clear optc underflow before turn off odm clock Josip Pavic (1): drm/amd/display: Avoid MPC infinite loop Leo Ma (1): drm/amd/display: Fix HDMI VSIF V3 incorrect issue Meenakshikumar Somasundaram (1): drm/amd/display: Fix TDR eDP and USB4 display light up issue Rodrigo Siqueira (9): drm/amd/display: Create FPU files for DCN314 drm/amd/display: Move populate dml pipes from DCN314 to dml drm/amd/display: Drop FPU flags from Makefile drm/amd/display: Add documentation to some of the cursor struct drm/amd/display: Add basic kernel doc to CRC code under DC drm/amd/display: Add some extra kernel doc to amdgpu_dm drm/amd/display: Document pipe split policy drm/amd/display: Expand documentation for timing drm/amd/display: Document some of the DML structs .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 16 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 46 ++- .../dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 12 +- .../dc/clk_mgr/dcn314/dcn314_clk_mgr.h | 2 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 45 ++- drivers/gpu/drm/amd/display/dc/dc.h | 40 +- drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 93 +++-- drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 148 ++++++- drivers/gpu/drm/amd/display/dc/dc_link.h | 1 + .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 + .../gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 6 + .../gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 44 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c | 6 + .../gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 2 +- .../amd/display/dc/dcn303/dcn303_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn314/Makefile | 25 -- .../drm/amd/display/dc/dcn314/dcn314_hwseq.c | 42 +- .../drm/amd/display/dc/dcn314/dcn314_hwseq.h | 4 + .../drm/amd/display/dc/dcn314/dcn314_init.c | 2 + .../amd/display/dc/dcn314/dcn314_resource.c | 341 +--------------- .../amd/display/dc/dcn314/dcn314_resource.h | 3 + .../drm/amd/display/dc/dcn32/dcn32_hwseq.c | 39 +- .../gpu/drm/amd/display/dc/dcn32/dcn32_optc.c | 2 +- .../drm/amd/display/dc/dcn32/dcn32_resource.c | 3 +- .../amd/display/dc/dcn321/dcn321_resource.c | 3 +- drivers/gpu/drm/amd/display/dc/dml/Makefile | 2 + .../amd/display/dc/dml/dcn314/dcn314_fpu.c | 376 ++++++++++++++++++ .../amd/display/dc/dml/dcn314/dcn314_fpu.h | 40 ++ .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 46 ++- .../amd/display/dc/dml/dcn321/dcn321_fpu.c | 7 + .../amd/display/dc/dml/display_mode_structs.h | 34 ++ .../gpu/drm/amd/display/dc/inc/core_types.h | 4 + .../amd/display/dc/inc/hw/timing_generator.h | 14 +- .../amd/display/modules/freesync/freesync.c | 15 +- 34 files changed, 968 insertions(+), 498 deletions(-) create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.h -- 2.25.1