[PATCH 2/7] etnaviv: fix XV resize for UYVY source format

Russell King rmk at armlinux.org.uk
Tue Nov 22 13:10:59 UTC 2016


On Tue, Nov 22, 2016 at 01:50:36PM +0100, Lucas Stach wrote:
> Am Dienstag, den 22.11.2016, 12:02 +0000 schrieb Russell King:
> > On Tue, Nov 22, 2016 at 12:44:15PM +0100, Lucas Stach wrote:
> > > It seems the video blitter doesn't like to blit from one YUV
> > > format to another and writes out a fully cleared buffer in
> > > that case.
> > 
> > Which GPU?  It works for me on GC600 and GC320, and it's explicitly
> > mentioned in the available GC320 documentation that the format we're
> > using is specifically supported for this use.
> 
> GC320 on i.MX6. As soon as the 2 stage scaling is needed the XV window
> turns into a solid green without this fix.

I've just re-checked on the iMX6Q Cubox-i, and it works for me here.
Tested with vlc -f test.mp2.

Maybe there's an alignment problem with the player that you're using
which is causing the GPU problems - several players make assumptions
about the pitch rather than asking the X server what is required,
although I thought we caught those cases.

-- 
Russell King


More information about the etnaviv mailing list