[PATCH 13/14] drm/amd/display: add verify_link_cap back for hdmi
Alan Liu
HaoPing.Liu at amd.com
Sat Feb 26 23:41:16 UTC 2022
From: Charlene Liu <Charlene.Liu at amd.com>
[why]
hdmi specific: add verify link cap after retrive link cap.
Change-Id: Ifd7b72e4f1f4ba4501e1ca30785ce4abf3b857dc
Reviewed-by: Alvin Lee <Alvin.Lee2 at amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2 at amd.com>
Acked-by: Alan Liu <HaoPing.Liu at amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu at amd.com>
---
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 045d33375133..b2ed2b683ba5 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -981,7 +981,8 @@ static bool should_verify_link_capability_destructively(struct dc_link *link,
destrictive = false;
}
}
- }
+ } else if (dc_is_hdmi_signal(link->local_sink->sink_signal))
+ destrictive = true;
return destrictive;
}
--
2.25.1
More information about the amd-gfx
mailing list