public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3] tests/kms_invalid_mode: Add igt_info when test skips
@ 2026-04-01 10:14 sumit kishore
  2026-04-01 17:43 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sumit kishore @ 2026-04-01 10:14 UTC (permalink / raw)
  To: igt-dev; +Cc: pranay.samala, Sumit Kishore

From: Sumit Kishore <sumit.kishore@intel.com>

Add igt_info to print the reason for test skip,
when an invalid mode is requested on eDP display.

v2: Update commit title and description.
    Add igt_info message.

Signed-off-by: Sumit Kishore <sumit.kishore@intel.com>
---
 tests/kms_invalid_mode.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
index 5edffb649..1a4563153 100644
--- a/tests/kms_invalid_mode.c
+++ b/tests/kms_invalid_mode.c
@@ -136,8 +136,10 @@ adjust_mode_clock_too_high(data_t *data, drmModeModeInfoPtr mode)
 	 * roughly match the user will get. For now skip the
 	 * test on  any connector with a fixed mode.
 	 */
-	if (has_scaling_mode_prop(data))
+	if (has_scaling_mode_prop(data)) {
+		igt_info("Skipping as %s has scaling properties\n", data->output->name);
 		return false;
+	}
 
 	/*
 	 * Newer platforms can support modes higher than the maximum dot clock
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-02 12:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01 10:14 [PATCH i-g-t v3] tests/kms_invalid_mode: Add igt_info when test skips sumit kishore
2026-04-01 17:43 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-04-01 17:53 ` ✓ i915.CI.BAT: " Patchwork
2026-04-01 22:26 ` ✓ Xe.CI.FULL: " Patchwork
2026-04-02 12:22 ` ✓ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox