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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux