summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dm_helpers.h
diff options
context:
space:
mode:
authorMichael Strauss <michael.strauss@amd.com>2022-10-20 15:57:36 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-11-09 17:41:41 -0500
commitea192af507d99014775a757bbdb5f6e487fc6c7a (patch)
tree296acb3a495101042397cac95ccd069c7d2d9216 /drivers/gpu/drm/amd/display/dc/dm_helpers.h
parent1df6b9b07e334cee60afebcaca69297477655325 (diff)
downloadlinux-ea192af507d99014775a757bbdb5f6e487fc6c7a.tar.gz
linux-ea192af507d99014775a757bbdb5f6e487fc6c7a.tar.bz2
linux-ea192af507d99014775a757bbdb5f6e487fc6c7a.zip
drm/amd/display: Only update link settings after successful MST link train
[WHY] Currently driver reduces verified link caps on DPIA devices if a link is trained at a link rate below the max rate verified during link detection. This blocks high bandwidth modes after setting a low bandwidth mode. [HOW] Only update link rate after a successful link train if link is MST. Reviewed-by: Mustapha Ghaddar <Mustapha.Ghaddar@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: Michael Strauss <michael.strauss@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dm_helpers.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dm_helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_helpers.h b/drivers/gpu/drm/amd/display/dc/dm_helpers.h
index e3e5c39895a3..af1c50ed905a 100644
--- a/drivers/gpu/drm/amd/display/dc/dm_helpers.h
+++ b/drivers/gpu/drm/amd/display/dc/dm_helpers.h
@@ -116,6 +116,11 @@ bool dm_helpers_dp_mst_start_top_mgr(
bool dm_helpers_dp_mst_stop_top_mgr(
struct dc_context *ctx,
struct dc_link *link);
+
+void dm_helpers_dp_mst_update_branch_bandwidth(
+ struct dc_context *ctx,
+ struct dc_link *link);
+
/**
* OS specific aux read callback.
*/