On Thu, Jun 23, 2016 at 07:46:03PM +0300, Marius Vlad wrote:
> Signed-off-by: Marius Vlad <[email protected]>
> CC: Chris Wilson <[email protected]>
> ---
>  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

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to