public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3] tests/kms_properties: Add skip on headless machines
@ 2026-04-01 11:42 sumit kishore
  2026-04-01 18:12 ` ✓ Xe.CI.BAT: success for tests/kms_properties: Add skip on headless machines (rev3) Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sumit kishore @ 2026-04-01 11:42 UTC (permalink / raw)
  To: igt-dev; +Cc: pranay.samala, Sumit Kishore

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

Print debug messages for sub-tests which are expected to
skip on headless display systems.

v2: Use existing library function, instead of
    defining new (karthik)
v3: Add headless display check in,
    colorop_properties function (Pranay)

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

diff --git a/tests/kms_properties.c b/tests/kms_properties.c
index f735839da..5164277b3 100644
--- a/tests/kms_properties.c
+++ b/tests/kms_properties.c
@@ -341,6 +341,8 @@ static void colorop_properties(igt_display_t *display, bool atomic)
 	igt_output_t *output;
 	igt_crtc_t *crtc;
 
+	igt_display_require_output(display);
+
 	/* colorops are only available with atomic */
 	igt_skip_on(!display->is_atomic);
 
@@ -377,6 +379,8 @@ static void plane_properties(igt_display_t *display, bool atomic)
 	igt_output_t *output;
 	igt_crtc_t *crtc;
 
+	igt_display_require_output(display);
+
 	for_each_crtc_with_single_output(display, crtc, output) {
 		igt_display_reset(display);
 
@@ -400,6 +404,8 @@ static void crtc_properties(igt_display_t *display, bool atomic)
 	igt_crtc_t *crtc;
 	igt_output_t *output;
 
+	igt_display_require_output(display);
+
 	for_each_crtc_with_single_output(display, crtc, output) {
 		igt_display_reset(display);
 
-- 
2.43.0


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

end of thread, other threads:[~2026-04-09  9:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01 11:42 [PATCH i-g-t v3] tests/kms_properties: Add skip on headless machines sumit kishore
2026-04-01 18:12 ` ✓ Xe.CI.BAT: success for tests/kms_properties: Add skip on headless machines (rev3) Patchwork
2026-04-01 18:25 ` ✗ i915.CI.BAT: failure " Patchwork
2026-04-01 23:38 ` ✓ Xe.CI.FULL: success " Patchwork
2026-04-09  9:08 ` [PATCH i-g-t v3] tests/kms_properties: Add skip on headless machines Samala, Pranay

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