public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_pm_dc: Add check for display require output
@ 2026-03-10  6:37 Mohammed Thasleem
  2026-03-10  8:34 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mohammed Thasleem @ 2026-03-10  6:37 UTC (permalink / raw)
  To: igt-dev; +Cc: Mohammed Thasleem

Add igt_display_require_output() check to ensure at least one display
output is available before running igt_kms tests.

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

diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
index 2f822abea..d1c4a5019 100644
--- a/tests/intel/kms_pm_dc.c
+++ b/tests/intel/kms_pm_dc.c
@@ -771,6 +771,7 @@ int igt_main()
 		igt_require(igt_setup_runtime_pm(data.drm_fd));
 		igt_require(igt_pm_dmc_loaded(data.debugfs_fd));
 		igt_display_require(&data.display, data.drm_fd);
+		igt_display_require_output(&data.display);
 		/* Make sure our Kernel supports MSR and the module is loaded */
 		igt_require(igt_kmod_load("msr", NULL) == 0);
 
-- 
2.25.1


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

end of thread, other threads:[~2026-03-10 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10  6:37 [PATCH i-g-t] tests/intel/kms_pm_dc: Add check for display require output Mohammed Thasleem
2026-03-10  8:34 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-03-10  8:57 ` [PATCH i-g-t] " Karthik B S
2026-03-10  9:44 ` ✓ i915.CI.BAT: success for " Patchwork
2026-03-10 11:54 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-10 14:44 ` ✗ 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