diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2024-12-10 06:17:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-23 19:23:05 +0300 |
commit | 35c2f2a46ae58cca1b91fb22c924c4a693bd0f30 (patch) | |
tree | d5e8c8405941b432134213c1b4d72c4c4e7d6f6f /scripts/generate_rust_analyzer.py | |
parent | ec744819bdd45ad3ae0f2cd284ae8ae86051c722 (diff) | |
download | linux-35c2f2a46ae58cca1b91fb22c924c4a693bd0f30.tar.xz |
drm/amd/display: Validate mdoe under MST LCT=1 case as well
commit b5cd418f016fb801be413fd52fe4711d2d13018c upstream.
[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>
(cherry picked from commit a04d9534a8a75b2806c5321c387be450c364b55e)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions