So that this test can be run in drivers other than i915.

Signed-off-by: Tomeu Vizoso <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to