---
 tests/core_getstats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/core_getstats.c b/tests/core_getstats.c
index cdab0e5..6f6a4ee 100644
--- a/tests/core_getstats.c
+++ b/tests/core_getstats.c
@@ -48,7 +48,7 @@ igt_simple_main
        int fd, ret;
        drm_stats_t stats;
 
-       fd = drm_open_driver(DRIVER_INTEL);
+       fd = drm_open_driver(OPEN_ANY_GPU);
 
        ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
        igt_assert(ret == 0);
-- 
2.1.4

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

Reply via email to