The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v4 10/11] drm/bridge: it6505: fix HDCP CTS ksv wait timer
@ 2024-09-26  7:51 Hermes Wu
  2024-09-26  7:51 ` [PATCH v4 11/11] drm/bridge: it6505: Add aux i2c functionality Hermes Wu
  2024-09-26  8:20 ` [PATCH v4 10/11] drm/bridge: it6505: fix HDCP CTS ksv wait timer Dmitry Baryshkov
  0 siblings, 2 replies; 8+ messages in thread
From: Hermes Wu @ 2024-09-26  7:51 UTC (permalink / raw)
  To: hermes wu
  Cc: Kenneth Hung, Andrzej Hajda, Neil Armstrong, Robert Foss,
	Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, AngeloGioacchino Del Regno, Hermes Wu, Allen Chen,
	open list:DRM DRIVERS, open list

From: Hermes Wu <Hermes.wu@ite.com.tw>

When running the HDCP CTS test on UNIGRAF DPR-100.
HDCP must disabled after waiting KSV for 5s.
Consider system ksv work schedules. The original timer has a chance to expire.

Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver")
Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw>
---
 drivers/gpu/drm/bridge/ite-it6505.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c
index e75bc1575aa8..22d9bec3faea 100644
--- a/drivers/gpu/drm/bridge/ite-it6505.c
+++ b/drivers/gpu/drm/bridge/ite-it6505.c
@@ -2093,7 +2093,8 @@ static void it6505_hdcp_wait_ksv_list(struct work_struct *work)
 	struct it6505 *it6505 = container_of(work, struct it6505,
 					     hdcp_wait_ksv_list);
 	struct device *dev = it6505->dev;
-	unsigned int timeout = 5000;
+	/* 1B-04 fail, wait to long to Stop encription(5s->3s). */
+	unsigned int timeout = 3000;
 	u8 bstatus = 0;
 	bool ksv_list_check;
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-27  8:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26  7:51 [PATCH v4 10/11] drm/bridge: it6505: fix HDCP CTS ksv wait timer Hermes Wu
2024-09-26  7:51 ` [PATCH v4 11/11] drm/bridge: it6505: Add aux i2c functionality Hermes Wu
2024-09-26 12:57   ` Dmitry Baryshkov
2024-09-27  2:43     ` Hermes.Wu
2024-09-27  8:36       ` Dmitry Baryshkov
2024-09-26  8:20 ` [PATCH v4 10/11] drm/bridge: it6505: fix HDCP CTS ksv wait timer Dmitry Baryshkov
2024-09-26  8:39   ` Hermes.Wu
2024-09-26  9:22     ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox