Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/xe_pm: Ensure we open as primary for setting display off
@ 2025-08-20  0:21 Rodrigo Vivi
  2025-08-20  1:18 ` ✗ i915.CI.BAT: failure for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Rodrigo Vivi @ 2025-08-20  0:21 UTC (permalink / raw)
  To: igt-dev; +Cc: Rodrigo Vivi, Martin Monroy, Karthik Poosa

We need to ensure that no one else is using the display
so we can turn it off and guarantee it will drop all the
references.

Cc: Martin Monroy <martin.monroy@intel.com>
Cc: Karthik Poosa <karthik.poosa@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 tests/intel/xe_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 46b441c4d..a3a26f62a 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -145,7 +145,7 @@ static void vram_d3cold_threshold_restore(int sig)
 {
 	int fd, sysfs_fd;
 
-	fd = drm_open_driver(DRIVER_XE);
+	fd = drm_open_driver_master(DRIVER_XE);
 	sysfs_fd = igt_sysfs_open(fd);
 
 	set_vram_d3cold_threshold(sysfs_fd, orig_threshold);
-- 
2.50.1


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

end of thread, other threads:[~2025-08-22 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20  0:21 [PATCH i-g-t] tests/xe_pm: Ensure we open as primary for setting display off Rodrigo Vivi
2025-08-20  1:18 ` ✗ i915.CI.BAT: failure for " Patchwork
2025-08-20  1:26 ` ✓ Xe.CI.BAT: success " Patchwork
2025-08-20 16:38 ` [PATCH i-g-t] " Kamil Konieczny
2025-08-22 16:24   ` Rodrigo Vivi
2025-08-20 21:48 ` ✗ Xe.CI.Full: failure for " Patchwork

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