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

Petri Latvala petri.latvala at intel.com
Mon Mar 4 11:17:03 UTC 2019


On Sat, Mar 02, 2019 at 06:39:12PM +0530, Mamta Shukla wrote:
> 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>

Reviewed-by: Petri Latvala <petri.latvala at intel.com>

Have you looked at the other tests that do DRIVER_INTEL | DRIVER_AMDGPU?


> ---
>  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
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev


More information about the igt-dev mailing list