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

Mamta Shukla mamtashukla555 at gmail.com
Mon Mar 4 12:20:23 UTC 2019


On Mon, Mar 4, 2019 at 4:47 PM Petri Latvala <petri.latvala at intel.com> wrote:
>
> 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?
>
I made this change to test overlay plane support in VKMS added as -
https://patchwork.kernel.org/patch/10837197/
I intend to modify  kms_universal_plane test which currently sets  DRM
DEVICE for DRIVER_INTEL only.
>
> > ---
> >  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



-- 
Mamta Shukla


More information about the igt-dev mailing list