[Intel-gfx] [PATCH xf86-video-intel v7 2/2] sna: Added AYUV format support for textured and sprite video adapters.

Lisovskiy, Stanislav stanislav.lisovskiy at intel.com
Fri Nov 9 16:54:10 UTC 2018


> -----Original Message-----
> From: Chris Wilson [mailto:chris at chris-wilson.co.uk]
> Sent: Friday, November 9, 2018 6:12 PM
> To: Lisovskiy, Stanislav <stanislav.lisovskiy at intel.com>; intel-
> gfx at lists.freedesktop.org
> Cc: Syrjala, Ville <ville.syrjala at intel.com>; Peres, Martin
> <martin.peres at intel.com>; Lisovskiy, Stanislav <stanislav.lisovskiy at intel.com>;
> Heikkila, Juha-pekka <juha-pekka.heikkila at intel.com>;
> maarten.lankhorst at linux.intel.com
> Subject: Re: [PATCH xf86-video-intel v7 2/2] sna: Added AYUV format support
> for textured and sprite video adapters.
> 
> Quoting Stanislav Lisovskiy (2018-11-09 14:14:40)
> > diff --git a/src/sna/sna_video_textured.c
> > b/src/sna/sna_video_textured.c index a784fe2e..46c213ef 100644
> > --- a/src/sna/sna_video_textured.c
> > +++ b/src/sna/sna_video_textured.c
> > @@ -68,6 +68,7 @@ static const XvImageRec gen4_Images[] = {
> >         XVIMAGE_I420,
> >         XVIMAGE_NV12,
> >         XVIMAGE_UYVY,
> > +       XVIMAGE_AYUV,
> >         XVMC_YUV,
> >  };
> 
> This exposes the format to all gen4+ machines, but you've only added the
> sampling kernel to gen9?

Apparently there was no other architecture available in sna_video_textured.c,
like gen9_images. Looks like it either chooses gen2, gen3 or gen4_images for
the rest in sna_video_textured_setup function.

> -Chris


More information about the Intel-gfx mailing list