From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t] tests/intel/kms_pm_lpsp: Add display version check on external panel
Date: Mon, 30 Sep 2024 23:48:39 +0530 [thread overview]
Message-ID: <20240930181839.49977-1-mohammed.thasleem@intel.com> (raw)
LPSP for external panel support from Gen13+ onwards.
Skip the test if only external panel connected on less
then gen13 platforms.
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/intel/kms_pm_lpsp.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/intel/kms_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c
index f9ac508fb..889da42de 100644
--- a/tests/intel/kms_pm_lpsp.c
+++ b/tests/intel/kms_pm_lpsp.c
@@ -227,6 +227,8 @@ igt_main
enum pipe pipe;
for_each_connected_output(display, output) {
+ drmModeConnectorPtr connector = output->config.connector;
+
if (!i915_output_is_lpsp_capable(data.drm_fd, output))
continue;
@@ -238,6 +240,10 @@ igt_main
if (pipe != PIPE_A)
continue;
+ if (connector->connector_type != DRM_MODE_CONNECTOR_eDP)
+ igt_require_f(intel_display_ver(data.devid) >= 13,
+ "LPSP support on external panel from Gen13+ platform\n");
+
data.output = output;
data.pipe = pipe;
--
2.25.1
next reply other threads:[~2024-09-30 18:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-30 18:18 Mohammed Thasleem [this message]
2024-09-30 22:17 ` ✗ CI.xeBAT: failure for tests/intel/kms_pm_lpsp: Add display version check on external panel Patchwork
2024-09-30 22:29 ` ✓ Fi.CI.BAT: success " Patchwork
2024-10-01 7:36 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-01 8:59 ` ✗ Fi.CI.IGT: " Patchwork
2024-10-03 12:29 ` [PATCH i-g-t] " B, Jeevan
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=20240930181839.49977-1-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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