diff mbox

[i-g-t,v1,5/7] tests/kms_flip: Open DRM device with DRIVER_ANY

Message ID 1460979775-21702-6-git-send-email-tomeu.vizoso@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tomeu Vizoso April 18, 2016, 11:42 a.m. UTC
So that this test can be run in drivers other than i915.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---

 tests/kms_flip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 58b167d46d90..dc251e902bef 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1686,7 +1686,7 @@  int main(int argc, char **argv)
 	igt_skip_on_simulation();
 
 	igt_fixture {
-		drm_fd = drm_open_driver_master(DRIVER_INTEL);
+		drm_fd = drm_open_driver_master(DRIVER_ANY);
 
 		igt_enable_connectors();