]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: consider DSC pass-through during mode validation
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Thu, 21 Jul 2022 16:55:34 +0000 (12:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:17:31 +0000 (18:17 -0400)
commit31209e05dbbfecee14f4708a5e1ae1343df0eea8
tree73abd1f92e86e8d4268f08736492a1a7e1ffe3a6
parent173154895f8b57a0b5a6f0bb922db4a595b7ba8a
drm/amd/display: consider DSC pass-through during mode validation

Add a mode validation routine for DSC pass-through. Both the link from
source to hub, and the link from hub to monitor are checked, according
to the current link training result and full pbn returned by enum path
resource sideband message.

Pick up the minimum value as the bandwidth bottleneck for the end to
end link bandwidth constraint, and check if the maximum DSC decompression
bandwidth can fit.

v2: squash in DSC CONFIG_DRM_AMD_DC_DCN compilation fix (Hamza)

Co-authored-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c