From: Tony Cheng <tony.ch...@amd.com>

- exposed by LCD enabled bios.   root cause not understood yet

Change-Id: I604432224856512b4d4f24da8ccc63b91395f1a0
Signed-off-by: Tony Cheng <tony.ch...@amd.com>
Acked-by: Harry Wentland <harry.wentl...@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc_link.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c 
b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
index 620ef03651f1..11cc05f9a3a0 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc_link.c
@@ -1040,7 +1040,7 @@ static bool construct(
 
        link->public.link_enc_hw_inst = link->link_enc->transmitter;
 
-       for (i = 0; ; i++) {
+       for (i = 0; i < 4; i++) {
                if (BP_RESULT_OK !=
                                bp_funcs->get_device_tag(dc_ctx->dc_bios, 
link->link_id, i, &link->device_tag)) {
                        DC_ERROR("Failed to find device tag!\n");
-- 
2.10.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to