On Mon, 07 May 2018 08:56:14 -0700
Eric Anholt <e...@anholt.net> wrote:

> Boris Brezillon <boris.brezil...@bootlin.com> writes:
> 
> > When using uni-planar formats (like RGB), the scaling parameters are
> > stored in plane 0, not plane 1.
> >
> > Fixes: fc04023fafec ("drm/vc4: Add support for YUV planes.")
> > Cc: sta...@vger.kernel.org
> > Signed-off-by: Boris Brezillon <boris.brezil...@bootlin.com>  
> 
> Reviewed-by: Eric Anholt <e...@anholt.net>
> 
> Looking at the other branch, did I get the scl0/scl1 backwards?  HVS
> docs say for non-444 YCBCR: "In these cases Channel 0 performs Y/Alpha
> scaling and Channel 1 performs CB/CR scaling and should be configured as
> appropriate."

Didn't test, but I think rescaling of multi-planar format is correct.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to