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 v2] tests/intel/kms_pm_dc: Add skip logic and logging for DC5 psr test
Date: Sun, 9 Mar 2025 13:34:47 +0530 [thread overview]
Message-ID: <20250309080448.21470-1-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20250226065202.84015-1-mohammed.thasleem@intel.com>
Low power Pipe A is required to run the DC5 transaction for Gen12.
For Gen12+ to Xe3, either Pipe A or Pipe B is needed for the DC5
transaction using a low power pipe. Added skip logic and logging
to enforce these requirements."
v2: Updated subject title and discription.
Add Gen checks for low power pipe selection. (Santosh)
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/intel/kms_pm_dc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
index bbb29d7d9..c7fde2af7 100644
--- a/tests/intel/kms_pm_dc.c
+++ b/tests/intel/kms_pm_dc.c
@@ -156,10 +156,15 @@ static void setup_output(data_t *data)
igt_display_t *display = &data->display;
igt_output_t *output;
enum pipe pipe;
+ int disp_ver = intel_display_ver(data->devid);
for_each_pipe_with_valid_output(display, pipe, output) {
drmModeConnectorPtr c = output->config.connector;
+ igt_skip_on_f((disp_ver <= 12 && pipe != PIPE_A) ||
+ (disp_ver <= 30 && !(pipe == PIPE_B || pipe == PIPE_A)),
+ "Low power pipe was not selected for the DC5 transaction.\n");
+
if (c->connector_type != DRM_MODE_CONNECTOR_eDP)
continue;
--
2.25.1
next prev parent reply other threads:[~2025-03-09 8:05 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 6:52 [PATCH i-g-t] tests/intel/kms_pm_dc: Add log information to dc5 psr test Mohammed Thasleem
2025-02-27 13:39 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-02-27 13:52 ` ✓ i915.CI.BAT: " Patchwork
2025-02-27 16:04 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-28 0:26 ` ✗ i915.CI.Full: " Patchwork
2025-03-09 8:04 ` Mohammed Thasleem [this message]
2025-03-09 8:34 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev2) Patchwork
2025-03-09 8:55 ` ✓ i915.CI.BAT: " Patchwork
2025-03-09 10:06 ` [PATCH i-g-t v2] tests/intel/kms_pm_dc: Add skip logic and logging for DC5 psr test Mohammed Thasleem
2025-03-13 6:23 ` Reddy Guddati, Santhosh
2025-03-13 13:00 ` Gustavo Sousa
2025-03-09 10:34 ` ✗ i915.CI.Full: failure for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev2) Patchwork
2025-03-09 10:50 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev3) Patchwork
2025-03-09 11:11 ` ✓ i915.CI.BAT: " Patchwork
2025-03-09 12:52 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-10 5:00 ` ✗ Xe.CI.Full: failure for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev2) Patchwork
2025-03-10 6:56 ` ✗ Xe.CI.Full: failure for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev3) Patchwork
2025-03-12 1:26 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev4) Patchwork
2025-03-12 1:47 ` ✗ i915.CI.BAT: failure " Patchwork
2025-03-12 17:08 ` ✓ Xe.CI.Full: success " Patchwork
2025-03-21 9:21 ` [PATCH i-g-t v3] tests/intel/kms_pm_dc: Add skip logic and logging for DC5 psr test Mohammed Thasleem
2025-03-21 17:16 ` Gustavo Sousa
2025-03-21 14:21 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev5) Patchwork
2025-03-21 14:39 ` ✓ i915.CI.BAT: " Patchwork
2025-03-21 15:15 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-21 16:33 ` ✗ i915.CI.Full: " Patchwork
2025-03-21 17:52 ` [PATCH i-g-t v4] tests/intel/kms_pm_dc: Add skip logic and logging for DC5 psr test Mohammed Thasleem
2025-03-24 13:21 ` Kamil Konieczny
2025-03-21 21:15 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pm_dc: Add log information to dc5 psr test (rev6) Patchwork
2025-03-21 21:30 ` ✓ i915.CI.BAT: " Patchwork
2025-03-21 23:09 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-22 2:37 ` ✗ i915.CI.Full: " 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=20250309080448.21470-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