Re: [PATCH 6/7] drm/omap: fix YUV422 rotation with TILER

2017-05-24 Thread Laurent Pinchart
Hi Tomi, On Wednesday 24 May 2017 09:50:49 Tomi Valkeinen wrote: > On 24/05/17 09:44, Laurent Pinchart wrote: > >> b/drivers/gpu/drm/omapdrm/omap_fb.c index bd05976fc20b..e5cc13799e73 > >> 100644 > >> --- a/drivers/gpu/drm/omapdrm/omap_fb.c > >> +++ b/drivers/gpu/drm/omapdrm/omap_fb.c > >> @@ -184

Re: [PATCH 6/7] drm/omap: fix YUV422 rotation with TILER

2017-05-23 Thread Tomi Valkeinen
On 24/05/17 09:44, Laurent Pinchart wrote: >> b/drivers/gpu/drm/omapdrm/omap_fb.c index bd05976fc20b..e5cc13799e73 100644 >> --- a/drivers/gpu/drm/omapdrm/omap_fb.c >> +++ b/drivers/gpu/drm/omapdrm/omap_fb.c >> @@ -184,16 +184,30 @@ void omap_framebuffer_update_scanout(struct >> drm_framebuffer *f

Re: [PATCH 6/7] drm/omap: fix YUV422 rotation with TILER

2017-05-23 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Wednesday 17 May 2017 10:56:43 Tomi Valkeinen wrote: > TILER rotation with YUV422 pixelformats does not work at the moment. All > other pixel formats work, because the pixelformat's pixel size is equal > to tiler unit size (e.g. XR24's pixel size is 32 bits, a

[PATCH 6/7] drm/omap: fix YUV422 rotation with TILER

2017-05-17 Thread Tomi Valkeinen
TILER rotation with YUV422 pixelformats does not work at the moment. All other pixel formats work, because the pixelformat's pixel size is equal to tiler unit size (e.g. XR24's pixel size is 32 bits, and the TILER unit size that has to be used is 32 bits). For YUV422 formats this is not the case,