From: Charlene Liu <charlene....@amd.com>

[why]
hdmi specific: add verify link cap after retrive link cap.

Change-Id: Ifd7b72e4f1f4ba4501e1ca30785ce4abf3b857dc

Reviewed-by: Alvin Lee <alvin.l...@amd.com>
Reviewed-by: Alvin Lee <alvin.l...@amd.com>
Acked-by: Alan Liu <haoping....@amd.com>
Signed-off-by: Charlene Liu <charlene....@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

Reply via email to