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

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


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

diff --git a/tests/core_getversion.c b/tests/core_getversion.c
index f994315..2f481c9 100644
--- a/tests/core_getversion.c
+++ b/tests/core_getversion.c
@@ -37,7 +37,7 @@ igt_simple_main
 	int fd;
 	drmVersionPtr v;
 
-	fd = drm_open_driver(DRIVER_INTEL);
+	fd = drm_open_driver(OPEN_ANY_GPU);
 	v = drmGetVersion(fd);
 	igt_assert(strlen(v->name) != 0);
 	igt_assert(strlen(v->date) != 0);
-- 
2.1.4



More information about the Intel-gfx mailing list