From: Anshuman Gupta <anshuman.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Suresh Kumar Kurmi <suresh.kumar.kurmi@intel.com>
Subject: [igt-dev] [PATCH RFC i-g-t] kms_content_protection: use delay for few panels which don't respond for AKE cert read.
Date: Fri, 3 Jan 2020 16:00:22 +0530 [thread overview]
Message-ID: <20200103103022.13889-1-anshuman.gupta@intel.com> (raw)
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
next reply other threads:[~2020-01-03 10:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-03 10:30 Anshuman Gupta [this message]
2020-01-03 10:44 ` [igt-dev] [PATCH RFC i-g-t] kms_content_protection: use delay for few panels which don't respond for AKE cert read 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200103103022.13889-1-anshuman.gupta@intel.com \
--to=anshuman.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=suresh.kumar.kurmi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox