[Public] Hi all, This week this patchset was tested on the following systems: Lenovo Thinkpad T14s Gen2, with AMD Ryzen 5 5650U Lenovo Thinkpad T13s Gen4 with AMD Ryzen 5 6600U Reference AMD RX6800 These systems were tested on the following display types: eDP, (1080p 60hz [5650U]) (1920x1200 60hz [6600U]) (2560x1600 120hz[6600U]) 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 HP Hook G2 with 1 and 2 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 - 87b54ffb9424 drm/amd/pm: bump SMU 13.0.7 driver_if header version) 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.1 and Chrome OS Tested-by: Daniel Wheeler <daniel.whee...@amd.com> Thank you, Dan Wheeler Sr. Technologist | AMD SW Display ------------------------------------------------------------------------------------------------------------------ 1 Commerce Valley Dr E, Thornhill, ON L3T 7X6 amd.com
-----Original Message----- From: Zhuo, Qingqing (Lillian) <qingqing.z...@amd.com> Sent: February 12, 2023 12:00 PM To: amd-gfx@lists.freedesktop.org Cc: Wentland, Harry <harry.wentl...@amd.com>; Li, Sun peng (Leo) <sunpeng...@amd.com>; Lakha, Bhawanpreet <bhawanpreet.la...@amd.com>; Siqueira, Rodrigo <rodrigo.sique...@amd.com>; Pillai, Aurabindo <aurabindo.pil...@amd.com>; Zhuo, Qingqing (Lillian) <qingqing.z...@amd.com>; Li, Roman <roman...@amd.com>; Lin, Wayne <wayne....@amd.com>; Wang, Chao-kai (Stylon) <stylon.w...@amd.com>; Chiu, Solomon <solomon.c...@amd.com>; Kotarac, Pavle <pavle.kota...@amd.com>; Gutierrez, Agustin <agustin.gutier...@amd.com>; Wheeler, Daniel <daniel.whee...@amd.com> Subject: [PATCH 00/22] DC Patches Feb 13, 2023 This DC patchset brings improvements in multiple areas. In summary, we highlight: - Move domain power control to DMCUB for DCN314 - Enable P-state validation check for DCN314 - Add support for multiple overlay planes - Fixes in prefetch, k1 k2 divider programming and more - Code cleanup Cc: Daniel Wheeler <daniel.whee...@amd.com> Alvin Lee (2): drm/amd/display: Set max vratio for prefetch to 7.9 for YUV420 MPO drm/amd/display: Fix prefetch vratio check Aric Cyr (1): drm/amd/display: Promote DAL to 3.2.223 Aurabindo Pillai (1): drm/amd/display: fix k1 k2 divider programming for phantom streams Ayush Gupta (1): drm/amd/display: temporary fix for page faulting Bhawanpreet Lakha (1): drm/amd/display: Add support for multiple overlay planes Charlene Liu (1): drm/amd/display: add NULL pointer check Daniel Miess (1): Revert "drm/amd/display: Correct bw_params population" Leo (Hanghong) Ma (1): drm/amd/display: Fix FreeSync active bit issue Mustapha Ghaddar (1): drm/amd/display: upstream link_dp_dpia_bw.c Nasir Osman (2): drm/amd/display: Remove stutter only configurations drm/amd/display: Disable unbounded request mode during rotation Nicholas Kazlauskas (4): drm/amd/display: Move DCN314 DOMAIN power control to DMCUB drm/amd/display: Enable P-state validation checks for DCN314 drm/amd/display: Update Z8 SR exit/enter latencies drm/amd/display: Disable HUBP/DPP PG on DCN314 for now Samson Tam (1): drm/amd/display: enable DPG when disabling plane for phantom pipe Tom Chung (1): drm/amd/display: Fix video glitch while drag window in PSR-SU Wenjing Liu (4): drm/amd/display: do not set RX back to SST mode for non 0 mst stream count drm/amd/display: Extract temp drm mst deallocation wa into its own function drm/amd/display: on dp link lost event toggle dpms for master pipe only drm/amd/display: move public dc link function implementation to dc_link_exports .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 83 +++- .../amd/display/amdgpu_dm/amdgpu_dm_plane.c | 22 +- .../amd/display/amdgpu_dm/amdgpu_dm_plane.h | 1 + drivers/gpu/drm/amd/display/dc/Makefile | 2 +- .../dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 31 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 47 +- .../drm/amd/display/dc/core/dc_link_exports.c | 103 +++++ drivers/gpu/drm/amd/display/dc/dc.h | 211 +++++---- drivers/gpu/drm/amd/display/dc/dc_ddc_types.h | 3 + drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 136 ++++++ drivers/gpu/drm/amd/display/dc/dc_link.h | 60 +-- drivers/gpu/drm/amd/display/dc/dc_types.h | 109 ++--- .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 16 +- .../drm/amd/display/dc/dcn30/dcn30_resource.c | 16 +- .../drm/amd/display/dc/dcn30/dcn30_resource.h | 3 +- .../drm/amd/display/dc/dcn31/dcn31_resource.c | 2 +- .../drm/amd/display/dc/dcn314/dcn314_hwseq.c | 24 + .../drm/amd/display/dc/dcn314/dcn314_hwseq.h | 2 + .../drm/amd/display/dc/dcn314/dcn314_init.c | 2 +- .../amd/display/dc/dcn314/dcn314_resource.c | 61 ++- .../amd/display/dc/dcn314/dcn314_resource.h | 4 + .../drm/amd/display/dc/dcn32/dcn32_hwseq.c | 4 +- .../drm/amd/display/dc/dcn32/dcn32_resource.h | 2 + .../drm/amd/display/dc/dml/dcn30/dcn30_fpu.c | 2 +- .../amd/display/dc/dml/dcn314/dcn314_fpu.c | 7 +- .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 32 ++ .../dc/dml/dcn32/display_mode_vba_32.c | 17 +- .../dc/dml/dcn32/display_mode_vba_32.h | 3 +- .../dc/dml/dcn32/display_mode_vba_util_32.c | 31 +- .../dc/dml/dcn32/display_mode_vba_util_32.h | 5 +- .../amd/display/dc/dml/display_mode_structs.h | 1 + .../drm/amd/display/dc/dml/display_mode_vba.c | 1 + .../drm/amd/display/dc/dml/display_mode_vba.h | 1 + drivers/gpu/drm/amd/display/dc/inc/link.h | 18 + .../display/dc/link/accessories/link_dp_cts.c | 45 +- .../drm/amd/display/dc/link/link_detection.c | 51 +-- .../gpu/drm/amd/display/dc/link/link_dpms.c | 220 ++++++++-- .../gpu/drm/amd/display/dc/link/link_dpms.h | 5 + .../drm/amd/display/dc/link/link_resource.c | 41 +- .../drm/amd/display/dc/link/link_resource.h | 2 + .../drm/amd/display/dc/link/link_validation.c | 14 +- .../dc/link/protocols/link_dp_dpia_bw.c | 413 ++++++++++++++++++ .../dc/link/protocols/link_dp_dpia_bw.h | 29 -- .../dc/link/protocols/link_dp_irq_handler.c | 46 +- .../display/dc/link/protocols/link_dp_phy.c | 11 - .../display/dc/link/protocols/link_dp_phy.h | 4 - .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 27 +- .../amd/display/modules/freesync/freesync.c | 12 +- 48 files changed, 1471 insertions(+), 511 deletions(-) create mode 100644 drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c -- 2.25.1