public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH RFC i-g-t] kms_content_protection: use delay for few panels which don't respond for AKE cert read.
@ 2020-01-03 10:30 Anshuman Gupta
  2020-01-03 10:44 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anshuman Gupta @ 2020-01-03 10:30 UTC (permalink / raw)
  To: igt-dev; +Cc: Suresh Kumar Kurmi

While running HDCP igt tests with some panels like Accer CB281HK,
panel state machine enters to bad state such that they won't respond
to AKE cert read request properly until unless they are being
power cycle off/on.
These panels doesn't seems to handle back to back HDCP authentication
request, using a delay of 1 seconds before enabling HDCP reduced the
reproduction rate. Using 100ms delay in i915 driver before AKE cert read
also fixes this issue, it is safer to use delay in IGT for HDCP tests
for these panels.

CC: Ramalingam C <ramalingam.c@intel.com>
Suggested-by: Suresh Kumar Kurmi <suresh.kumar.kurmi@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
---
 tests/kms_content_protection.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 3b9cedcb..9bef5278 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -475,6 +475,12 @@ static void test_content_protection_on_output(igt_output_t *output,
 			continue;
 
 		modeset_with_fb(pipe, output, s);
+
+		/*
+		 * Sleep for 1 seconds for some panels which don't respond
+		 * for AKE Cert Read.
+		 */
+		sleep(1);
 		test_cp_enable_with_retry(output, s, 3, content_type, false,
 					  false);
 
-- 
2.24.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2020-01-03 22:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-03 10:30 [igt-dev] [PATCH RFC i-g-t] kms_content_protection: use delay for few panels which don't respond for AKE cert read Anshuman Gupta
2020-01-03 10:44 ` Chris Wilson
2020-01-03 12:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-01-03 22:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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