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

Tomeu Vizoso tomeu.vizoso at collabora.com
Mon Apr 18 11:42:53 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/kms_flip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();
 
-- 
2.5.5



More information about the Intel-gfx mailing list