[igt-dev] [PATCH i-g-t] tests/kms_plane: Open DRM DEVICE with DRIVER_ANY

Mamta Shukla mamtashukla555 at gmail.com
Sat Mar 2 13:09:12 UTC 2019


Open DRM DEVICE with DRIVER_ANY so that this test can run in other
drivers as well.

Signed-off-by: Mamta Shukla <mamtashukla555 at gmail.com>
---
 tests/kms_plane.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 91de4694..fd8a9cbf 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -641,7 +641,7 @@ igt_main
 	igt_skip_on_simulation();
 
 	igt_fixture {
-		data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_AMDGPU);
+		data.drm_fd = drm_open_driver_master(DRIVER_ANY);
 
 		kmstest_set_vt_graphics_mode();
 
-- 
2.17.1



More information about the igt-dev mailing list