summaryrefslogtreecommitdiff
path: root/tests/pm_rc6_residency.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pm_rc6_residency.c')
-rw-r--r--tests/pm_rc6_residency.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pm_rc6_residency.c b/tests/pm_rc6_residency.c
index 79091620..a1e281cd 100644
--- a/tests/pm_rc6_residency.c
+++ b/tests/pm_rc6_residency.c
@@ -183,9 +183,9 @@ igt_main
igt_skip_on_simulation();
- /* Use drm_open_any to verify device existence */
+ /* Use drm_open_driver to verify device existence */
igt_fixture {
- fd = drm_open_any();
+ fd = drm_open_driver(DRIVER_INTEL);
devid = intel_get_drm_devid(fd);
close(fd);