summaryrefslogtreecommitdiff
path: root/tests/core_getstats.c
diff options
context:
space:
mode:
authorMicah Fedke <micah.fedke@collabora.co.uk>2015-08-14 14:36:36 +0000
committerThomas Wood <thomas.wood@intel.com>2015-09-11 14:39:43 +0100
commit21111730832f8139a215cf8ba66471ef7e992984 (patch)
tree84cd855369e6f193bcf2635c48aa5e4a4e321d27 /tests/core_getstats.c
parentfd282fb9d48c265533af91a291da368ac4c626e9 (diff)
tests: update core_getstats to run on any platform
Signed-off-by: Micah Fedke <micah.fedke@collabora.co.uk> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/core_getstats.c')
-rw-r--r--tests/core_getstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_getstats.c b/tests/core_getstats.c
index aebbc454..fde27cdc 100644
--- a/tests/core_getstats.c
+++ b/tests/core_getstats.c
@@ -47,7 +47,7 @@ igt_simple_main
int fd, ret;
drm_stats_t stats;
- fd = drm_open_driver(DRIVER_INTEL);
+ fd = drm_open_driver(DRIVER_ANY);
ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
igt_assert(ret == 0);