]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: set hdcp1 wa re-auth delay to 200ms
authorJake Wang <haonan.wang2@amd.com>
Thu, 22 Oct 2020 19:23:16 +0000 (15:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:32:03 +0000 (15:32 -0500)
[Why]
Fail and restart timing for HDCP1 retry occurs too quickly.
This would cause some MST monitors to show black screen.

[How]
Adjusted timing of fail and restart to 200ms.

Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_transition.c

index f3711914364e5958811d846ab880c4ddaf465b57..24ab95b093f762b95a3eefb6587cbbec874cc939 100644 (file)
@@ -231,7 +231,7 @@ enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp,
                        fail_and_restart_in_ms(0, &status, output);
                        break;
                } else if (conn->hdcp1_retry_count < conn->link.adjust.hdcp1.min_auth_retries_wa) {
-                       fail_and_restart_in_ms(0, &status, output);
+                       fail_and_restart_in_ms(200, &status, output);
                        break;
                }
                if (conn->is_repeater) {