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

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 13 18:49:38 UTC 2018


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?
-Chris


More information about the Intel-gfx mailing list