[Intel-gfx] [PATCH i-g-t 2/2] tests/testdisplay: Open DRM device with DRIVER_ANY
Tomeu Vizoso
tomeu.vizoso at collabora.com
Fri May 6 13:36:23 UTC 2016
So that this test can be run in drivers other than i915.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
---
tests/testdisplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index f821bcc64779..45280e4cad82 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) {
--
2.5.5
More information about the Intel-gfx
mailing list