Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_dp_link_training: Restrict to Intel GPUs
@ 2025-03-05  9:43 Marcin Bernatowicz
  2025-03-06  3:49 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Marcin Bernatowicz @ 2025-03-05  9:43 UTC (permalink / raw)
  To: igt-dev; +Cc: Marcin Bernatowicz, Kunal Joshi, Arun R Murthy

Use DRIVER_INTEL instead of DRIVER_ANY to avoid assertions on non-Intel
hardware. Previously, the test opened any DRM driver and failed if it
was not Intel.

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Kunal Joshi <kunal1.joshi@intel.com>
Cc: Arun R Murthy <arun.r.murthy@intel.com>
---
 tests/intel/kms_dp_link_training.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/kms_dp_link_training.c b/tests/intel/kms_dp_link_training.c
index f00376614..7d3848b94 100644
--- a/tests/intel/kms_dp_link_training.c
+++ b/tests/intel/kms_dp_link_training.c
@@ -335,7 +335,7 @@ igt_main
 	data_t data = {};
 
 	igt_fixture {
-		data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+		data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
 		data.devid = intel_get_drm_devid(data.drm_fd);
 		kmstest_set_vt_graphics_mode();
 		igt_display_require(&data.display, data.drm_fd);
-- 
2.31.1


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

end of thread, other threads:[~2025-03-06 14:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05  9:43 [PATCH i-g-t] tests/intel/kms_dp_link_training: Restrict to Intel GPUs Marcin Bernatowicz
2025-03-06  3:49 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-03-06  4:11 ` ✓ i915.CI.BAT: " Patchwork
2025-03-06  5:03 ` [PATCH i-g-t] " Joshi, Kunal1
2025-03-06  6:05 ` ✗ i915.CI.Full: failure for " Patchwork
2025-03-06 14:48   ` Bernatowicz, Marcin
2025-03-06  9:48 ` ✗ Xe.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