public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: swati2.sharma@intel.com, Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t] tests/intel/kms_pm_dc: Avoid PIPE_B conflict on dual-eDP systems
Date: Thu, 12 Mar 2026 13:33:05 +0530	[thread overview]
Message-ID: <20260312080305.43449-1-mohammed.thasleem@intel.com> (raw)

Select the first available eDP output and assign it to PIPE_B to avoid pipe
conflicts on dual-eDP systems.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
 tests/intel/kms_pm_dc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
index d1c4a5019..2e5ffe842 100644
--- a/tests/intel/kms_pm_dc.c
+++ b/tests/intel/kms_pm_dc.c
@@ -149,7 +149,10 @@ static void set_output_on_pipe_b(data_t *data)
 
 		data->output = output;
 		data->mode = igt_output_get_mode(output);
+
+		break;
 	}
+	igt_require_f(data->output, "No valid eDP found for PIPE_B\n");
 }
 
 static void setup_output(data_t *data)
-- 
2.25.1


             reply	other threads:[~2026-03-12  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12  8:03 Mohammed Thasleem [this message]
2026-03-12 12:51 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pm_dc: Avoid PIPE_B conflict on dual-eDP systems Patchwork
2026-03-12 13:08 ` ✗ i915.CI.BAT: failure " Patchwork
2026-03-13  4:42 ` [PATCH i-g-t] " Karthik B S
2026-03-13 10:03 ` ✗ Xe.CI.FULL: failure for " 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=20260312080305.43449-1-mohammed.thasleem@intel.com \
    --to=mohammed.thasleem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=swati2.sharma@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