Message ID | 1466700363-22009-2-git-send-email-marius.c.vlad@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jun 23, 2016 at 07:46:03PM +0300, Marius Vlad wrote: > Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> > CC: Chris Wilson <chris@chris-wilson.co.uk> > --- > lib/drmtest.c | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/lib/drmtest.c b/lib/drmtest.c > index 1e28f60..d2ee2d1 100644 > --- a/lib/drmtest.c > +++ b/lib/drmtest.c > @@ -261,7 +261,17 @@ int __drm_open_driver(int chipset) > close(fd); > } > > - igt_skip("No intel gpu found\n"); > + switch (chipset & (DRIVER_INTEL | DRIVER_VC4 | DRIVER_VGEM)) { > + case DRIVER_INTEL: > + igt_skip("No intel gpu found\n"); > + break; > + case DRIVER_VC4: > + igt_skip("No vc4 gpu found\n"); > + break; > + case DRIVER_VGEM: > + igt_skip("No vgem support found\n"); > + break; That is just as silly as the first error message. -Chris
diff --git a/lib/drmtest.c b/lib/drmtest.c index 1e28f60..d2ee2d1 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -261,7 +261,17 @@ int __drm_open_driver(int chipset) close(fd); } - igt_skip("No intel gpu found\n"); + switch (chipset & (DRIVER_INTEL | DRIVER_VC4 | DRIVER_VGEM)) { + case DRIVER_INTEL: + igt_skip("No intel gpu found\n"); + break; + case DRIVER_VC4: + igt_skip("No vc4 gpu found\n"); + break; + case DRIVER_VGEM: + igt_skip("No vgem support found\n"); + break; + } return -1; }
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> CC: Chris Wilson <chris@chris-wilson.co.uk> --- lib/drmtest.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)