]> 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)
commitb7578888b921de99163c6eef91aa2f0d64a50e47
tree73abd1f92e86e8d4268f08736492a1a7e1ffe3a6
parentfce551ccf3cfc169cb60c19b35cd6242f8e0dcca
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