From: Suraj Kandpal <suraj.kandpal@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: mohammed.thasleem@intel.com, karthik.b.s@intel.com,
jeevan.b@intel.com, Suraj Kandpal <suraj.kandpal@intel.com>
Subject: [PATCH i-g-t 2/4] tests/kms_content_protection: Print correct output
Date: Thu, 12 Sep 2024 19:04:19 +0530 [thread overview]
Message-ID: <20240912133421.718496-3-suraj.kandpal@intel.com> (raw)
In-Reply-To: <20240912133421.718496-1-suraj.kandpal@intel.com>
We should be printing the output we are waiting for
which is first_output rather than printing the 0th output.
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Jeevan B <jeevan.b@intel.com>
---
tests/kms_content_protection.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index cad8811ea..c3771fad8 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -653,7 +653,8 @@ static void test_cp_lic_on_mst(igt_output_t *mst_outputs[], int valid_outputs, i
/* Only wait for the first output, this optimizes the test execution time */
ret = wait_for_prop_value(mst_outputs[first_output], CP_DESIRED, LIC_PERIOD_MSEC);
- igt_assert_f(!ret, "Content Protection LIC Failed on %s\n", mst_outputs[0]->name);
+ igt_assert_f(!ret, "Content Protection LIC Failed on %s\n",
+ mst_outputs[first_output]->name);
for (count = first_output + 1; count < valid_outputs; count++) {
val = igt_output_get_prop(mst_outputs[count], IGT_CONNECTOR_CONTENT_PROTECTION);
--
2.43.2
next prev parent reply other threads:[~2024-09-12 13:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 13:34 [PATCH i-g-t 0/4] HDCP MST LIC fixes Suraj Kandpal
2024-09-12 13:34 ` [PATCH i-g-t 1/4] test/kms_content_protection: Fix variable declaration Suraj Kandpal
2024-09-12 13:34 ` Suraj Kandpal [this message]
2024-09-12 13:34 ` [PATCH i-g-t 3/4] test/kms_content_protection: Move color change code Suraj Kandpal
2024-09-12 13:59 ` Thasleem, Mohammed
2024-09-12 13:34 ` [PATCH i-g-t 4/4] tests/kms_content_protection: Make mst_cp_enable_with_retry() void Suraj Kandpal
2024-09-12 13:43 ` B, Jeevan
2024-09-12 14:04 ` Thasleem, Mohammed
2024-09-12 14:12 ` ✓ CI.xeBAT: success for HDCP MST LIC fixes (rev3) Patchwork
2024-09-12 14:14 ` ✓ Fi.CI.BAT: " Patchwork
2024-09-12 22:59 ` ✗ CI.xeFULL: failure " Patchwork
2024-09-13 2:39 ` ✗ Fi.CI.IGT: " Patchwork
2024-09-17 4:04 ` Kandpal, Suraj
2024-09-13 17:59 ` ✓ Fi.CI.IGT: success " 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=20240912133421.718496-3-suraj.kandpal@intel.com \
--to=suraj.kandpal@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jeevan.b@intel.com \
--cc=karthik.b.s@intel.com \
--cc=mohammed.thasleem@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