]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Add dp_skip_rbr flag for NUTMEG
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 29 May 2026 09:09:09 +0000 (11:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Jul 2026 21:37:28 +0000 (17:37 -0400)
commite39b7cf5c62e027af166772e46382356ecb45c36
tree972d30a2dbf6589710897c4fc2fa33a253c5d0f3
parent9fb646bc4d87f62bcbf0a7ea326430eb802c475c
drm/amd/display: Add dp_skip_rbr flag for NUTMEG

No functional changes. Just clean up a conceptual mismatch.

Based on feedback on the NUTMEG code in DC, the
preferred_link_setting is meant to force the DP link to a
specific setting, meaning both the link rate and lane count
should be locked to an exact value. What NUTMEG needs is
a lower bound on the link rate, which is not the same concept.

Implement this as a HW workaround flag instead.

Suggested-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 871ceb853841bcaa4e6cec3723b16c4887a760be)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/link/link_detection.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c