Re: [PATCH xf86-video-intel v7 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]

 



> -----Original Message-----
> From: Chris Wilson [mailto:chris@xxxxxxxxxxxxxxxxxx]
> Sent: Friday, November 9, 2018 6:12 PM
> To: Lisovskiy, Stanislav <stanislav.lisovskiy@xxxxxxxxx>; intel-
> gfx@xxxxxxxxxxxxxxxxxxxxx
> Cc: Syrjala, Ville <ville.syrjala@xxxxxxxxx>; Peres, Martin
> <martin.peres@xxxxxxxxx>; Lisovskiy, Stanislav <stanislav.lisovskiy@xxxxxxxxx>;
> Heikkila, Juha-pekka <juha-pekka.heikkila@xxxxxxxxx>;
> maarten.lankhorst@xxxxxxxxxxxxxxx
> 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
_______________________________________________
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