diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2016-05-06 15:36:23 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2016-05-19 14:42:39 +0200 |
commit | 7aee5110f0ac355674cfc07055eb08784314547f (patch) | |
tree | ea5aabad1270b6facf92e00eb29f8332fe5d7a8a /tests/testdisplay.c | |
parent | 99bdf4f0ff3e2000afb4bf71f4a73e4589946050 (diff) |
tests/testdisplay: Open DRM device with DRIVER_ANY
So that this test can be run in drivers other than i915.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index f821bcc6..45280e4c 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -724,7 +724,7 @@ int main(int argc, char **argv) specified_mode_num == -1 && !test_stereo_modes) test_all_modes = 1; - drm_fd = drm_open_driver(DRIVER_INTEL); + drm_fd = drm_open_driver(DRIVER_ANY); if (test_stereo_modes && drmSetClientCap(drm_fd, DRM_CLIENT_CAP_STEREO_3D, 1) < 0) { |