mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 00:36:16 +00:00
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>
This commit is contained in:
parent
fd282fb9d4
commit
2111173083
@ -47,7 +47,7 @@ igt_simple_main
|
|||||||
int fd, ret;
|
int fd, ret;
|
||||||
drm_stats_t stats;
|
drm_stats_t stats;
|
||||||
|
|
||||||
fd = drm_open_driver(DRIVER_INTEL);
|
fd = drm_open_driver(DRIVER_ANY);
|
||||||
|
|
||||||
ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
|
ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
|
||||||
igt_assert(ret == 0);
|
igt_assert(ret == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user