All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: swati2.sharma@intel.com, Jeevan B <jeevan.b@intel.com>
Subject: [PATCH i-g-t] tests/intel/kms_pipe_stress: Skip invalid pipe-output combinations
Date: Fri, 11 Jul 2025 14:50:40 +0530	[thread overview]
Message-ID: <20250711092040.193732-1-jeevan.b@intel.com> (raw)

Add intel_pipe_output_combo_valid check to skip invalid pipe-output
combinations which are not valid.

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

diff --git a/tests/intel/kms_pipe_stress.c b/tests/intel/kms_pipe_stress.c
index 296c93b58..a896c830b 100644
--- a/tests/intel/kms_pipe_stress.c
+++ b/tests/intel/kms_pipe_stress.c
@@ -578,6 +578,11 @@ static void stress_pipes(struct data *data, struct timespec *start,
 		if (!data->highest_mode[pipe])
 			continue;
 
+		if (!intel_pipe_output_combo_valid(&data->display)) {
+			igt_output_set_pipe(output, PIPE_NONE);
+			continue;
+		}
+
 		igt_assert_f(data->display.pipes[pipe].n_planes < MAX_PLANES,
 			    "Currently we don't support more than %d planes!",
 			     MAX_PLANES);
-- 
2.43.0


             reply	other threads:[~2025-07-11  9:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-11  9:20 Jeevan B [this message]
2025-07-11 14:59 ` ✓ Xe.CI.BAT: success for tests/intel/kms_pipe_stress: Skip invalid pipe-output combinations Patchwork
2025-07-11 15:27 ` ✓ i915.CI.BAT: " Patchwork
2025-07-11 22:13 ` ✓ i915.CI.Full: " Patchwork
2025-07-11 22:34 ` ✗ Xe.CI.Full: failure " Patchwork
2025-07-21 17:58 ` [PATCH i-g-t] " Sharma, Swati2
2025-07-25  4:35 ` Karthik B S

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=20250711092040.193732-1-jeevan.b@intel.com \
    --to=jeevan.b@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.