mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
tests: update core_getclient 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
75c9e92efb
commit
fd282fb9d4
@ -39,7 +39,7 @@ igt_simple_main
|
|||||||
int fd, ret;
|
int fd, ret;
|
||||||
drm_client_t client;
|
drm_client_t client;
|
||||||
|
|
||||||
fd = drm_open_driver(DRIVER_INTEL);
|
fd = drm_open_driver(DRIVER_ANY);
|
||||||
|
|
||||||
/* Look for client index 0. This should exist whether we're operating
|
/* Look for client index 0. This should exist whether we're operating
|
||||||
* on an otherwise unused drm device, or the X Server is running on
|
* on an otherwise unused drm device, or the X Server is running on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user