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

Ville Syrjälä ville.syrjala at linux.intel.com
Tue Nov 13 19:13:40 UTC 2018


On Tue, Nov 13, 2018 at 06:49:38PM +0000, Chris Wilson wrote:
> Quoting Stanislav Lisovskiy (2018-11-13 07:45:02)
> > @@ -408,6 +424,9 @@ void sna_video_textured_setup(struct sna *sna, ScreenPtr screen)
> >         } else if (sna->kgem.gen < 040) {
> >                 adaptor->nImages = ARRAY_SIZE(gen3_Images);
> >                 adaptor->pImages = (XvImageRec *)gen3_Images;
> > +       } else if (sna->kgem.gen >= 0110) {
> > +               adaptor->nImages = ARRAY_SIZE(gen9_Images);
> > +               adaptor->pImages = (XvImageRec *)gen9_Images;
> >         } else {
> >                 adaptor->nImages = ARRAY_SIZE(gen4_Images);
> >                 adaptor->pImages = (XvImageRec *)gen4_Images;
> 
> Grr. Aside from the minor nits, ok. Ville?

Yeah. Seems good enough. For both
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list