diff options
Diffstat (limited to 'tests/drv_hangman.c')
-rw-r--r-- | tests/drv_hangman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c index 4f4e76c5..6caf910b 100644 --- a/tests/drv_hangman.c +++ b/tests/drv_hangman.c @@ -220,7 +220,7 @@ static void test_error_state_basic(void) clear_error_state(); assert_error_state_clear(); - fd = drm_open_any(); + fd = drm_open_driver(DRIVER_INTEL); submit_batch(fd, I915_EXEC_RENDER, true); close(fd); @@ -375,7 +375,7 @@ static void test_error_state_capture(unsigned ring_id, clear_error_state(); - fd = drm_open_any(); + fd = drm_open_driver(DRIVER_INTEL); gen = intel_gen(intel_get_drm_devid(fd)); cmd_parser = uses_cmd_parser(fd, gen); |