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 <jisshin@google.com>
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 @@
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);