From e44a5d8d0dc3fa52ff5ce08d316f70773633929b Mon Sep 17 00:00:00 2001 From: Ji Soo Shin Date: Thu, 14 Sep 2023 08:31:24 +0200 Subject: hdcp: increase hdcp trigger delay Per analysis in b/285943080, it is suggested that we have increased time between DP and HDCP trigger as it can cause mirror image to not show off correctly depending on timing. Bug: 285943080 Change-Id: I39e7b0f9d74fb420b3cad22d9c3a959b88cefeff Signed-off-by: Ji Soo Shin --- auth-control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth-control.c b/auth-control.c index b42db4b..bcd2d2d 100644 --- a/auth-control.c +++ b/auth-control.c @@ -20,6 +20,8 @@ #include "hdcp-log.h" #include "teeif.h" +#define HDCP_SCHEDULE_DELAY_MSEC (5000) + static struct delayed_work hdcp_work; static enum auth_state state; @@ -112,7 +114,7 @@ void hdcp_dplink_connect_state(enum dp_state dp_hdcp_state) { return; } - schedule_delayed_work(&hdcp_work, msecs_to_jiffies(2000)); + schedule_delayed_work(&hdcp_work, msecs_to_jiffies(HDCP_SCHEDULE_DELAY_MSEC)); return; } EXPORT_SYMBOL_GPL(hdcp_dplink_connect_state); -- cgit v1.2.3