All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/hdcp: Add additional R0' wait
@ 2020-05-19 22:16 ` Sean Paul
  0 siblings, 0 replies; 14+ messages in thread
From: Sean Paul @ 2020-05-19 22:16 UTC (permalink / raw)
  To: dri-devel, intel-gfx; +Cc: seanpaul, rodrigo.vivi

From: Sean Paul <seanpaul@chromium.org>

We're seeing some R0' mismatches in the field, particularly with
repeaters. I'm guessing the (already lenient) 300ms wait time isn't
enough for some setups. So add an additional wait when R0' is
mismatched.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
---
 drivers/gpu/drm/i915/display/intel_hdcp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
index 2cbc4619b4ce..924a717a4fa4 100644
--- a/drivers/gpu/drm/i915/display/intel_hdcp.c
+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -592,6 +592,9 @@ int intel_hdcp_auth_downstream(struct intel_connector *connector)
 						  bstatus);
 		if (!ret)
 			break;
+
+		/* Maybe the sink is lazy, give it some more time */
+		usleep_range(10000, 50000);
 	}
 
 	if (i == tries) {
-- 
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-05-21  5:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 22:16 [PATCH] drm/i915/hdcp: Add additional R0' wait Sean Paul
2020-05-19 22:16 ` [Intel-gfx] " Sean Paul
2020-05-20  0:22 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2020-05-20  6:46 ` [PATCH] " Ramalingam C
2020-05-20  6:46   ` [Intel-gfx] " Ramalingam C
2020-05-20 13:08   ` [PATCH v2] " Sean Paul
2020-05-20 13:08     ` [Intel-gfx] " Sean Paul
2020-05-20 19:50     ` Sean Paul
2020-05-20 19:50       ` [Intel-gfx] " Sean Paul
2020-05-21  5:12       ` Ramalingam C
2020-05-21  5:12         ` [Intel-gfx] " Ramalingam C
2020-05-20 13:16 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for " Patchwork
2020-05-20 14:32 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/hdcp: Add additional R0' wait (rev2) Patchwork
2020-05-21  5:27 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.