]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Validate mdoe under MST LCT=1 case as well
authorWayne Lin <Wayne.Lin@amd.com>
Tue, 10 Dec 2024 03:17:55 +0000 (11:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jan 2025 17:00:56 +0000 (12:00 -0500)
commita04d9534a8a75b2806c5321c387be450c364b55e
tree8205c499aead655148c2c8b93e9306ac73a06c10
parent63ab80d9ac0adae2066b140ec30481ba4648140d
drm/amd/display: Validate mdoe under MST LCT=1 case as well

[Why & How]
Currently in dm_dp_mst_is_port_support_mode(), when valdidating mode
under dsc decoding at the last DP link config, we only validate the
case when there is an UFP. However, if the MSTB LCT=1, there is no
UFP.

Under this case, use root_link_bw_in_kbps as the available bw to
compare.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3720
Fixes: fa57924c76d9 ("drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c