Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>,
	petri.latvala@intel.com
Subject: [igt-dev] [PATCH i-g-t] tests/kms_psr: Skip h/w tracking PSR2 tests for ADL-P
Date: Thu,  8 Jul 2021 15:38:32 +0530	[thread overview]
Message-ID: <20210708100832.799-1-jeevan.b@intel.com> (raw)

From: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>

Currently, PSR2 functionality has not been tested on ADL-P.
Add ADL-P platform specific check to skip PSR2 hw tracking tests.

Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_psr.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/kms_psr.c b/tests/kms_psr.c
index a80abf19..cc713e27 100644
--- a/tests/kms_psr.c
+++ b/tests/kms_psr.c
@@ -416,6 +416,11 @@ static void test_setup(data_t *data)
 	igt_require_f(data->mode,
 		      "No available mode found on %s\n",
 		      data->output->name);
+
+	if (data->op_psr_mode == PSR_MODE_2)
+		igt_require_f(intel_display_ver(intel_get_drm_devid(data->drm_fd)) < 13,
+			      "Intentionally not testing this on Display 13+, Kernel change required to enable testing\n");
+
 	if (data->op_psr_mode == PSR_MODE_2)
 		igt_require(data->supports_psr2);
 
-- 
2.19.1

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

             reply	other threads:[~2021-07-08 10:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 10:08 Jeevan B [this message]
2021-07-08 11:28 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_psr: Skip h/w tracking PSR2 tests for ADL-P Patchwork
2021-07-08 12:15 ` [igt-dev] [PATCH i-g-t] " Sharma, Swati2
2021-07-08 14:47 ` [igt-dev] ✗ Fi.CI.IGT: failure for " Patchwork
2021-07-08 15:46 ` [igt-dev] ✓ 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=20210708100832.799-1-jeevan.b@intel.com \
    --to=jeevan.b@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=pankaj.laxminarayan.bharadiya@intel.com \
    --cc=petri.latvala@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