---
 tests/core_get_client_auth.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/core_get_client_auth.c b/tests/core_get_client_auth.c
index 92313f9..3518bb7 100644
--- a/tests/core_get_client_auth.c
+++ b/tests/core_get_client_auth.c
@@ -84,7 +84,7 @@ igt_main
 {
        /* root (which we run igt as) should always be authenticated */
        igt_subtest("simple") {
-               int fd = drm_open_driver(DRIVER_INTEL);
+               int fd = drm_open_driver(OPEN_ANY_GPU);
 
                igt_assert(check_auth(fd) == true);
 
@@ -92,8 +92,8 @@ igt_main
        }
 
        igt_subtest("master-drop") {
-               int fd = drm_open_driver(DRIVER_INTEL);
-               int fd2 = drm_open_driver(DRIVER_INTEL);
+               int fd = drm_open_driver(OPEN_ANY_GPU);
+               int fd2 = drm_open_driver(OPEN_ANY_GPU);
 
                igt_assert(check_auth(fd2) == true);
 
-- 
2.1.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to