[Intel-gfx] [PATCH v3 7/7] tests: update core_getstats to run on any platform

Micah Fedke micah.fedke at collabora.co.uk
Fri Aug 14 08:22:36 PDT 2015


---
 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



More information about the Intel-gfx mailing list