[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 anshuman.gupta at intel.com
Fri Jan 3 10:30:22 UTC 2020


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 at intel.com>
Suggested-by: Suresh Kumar Kurmi <suresh.kumar.kurmi at intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta at 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



More information about the igt-dev mailing list