]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Add support for YUV planes.
authorEric Anholt <eric@anholt.net>
Wed, 30 Dec 2015 20:25:44 +0000 (12:25 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 19:24:08 +0000 (11:24 -0800)
commit670c7768d28287d9411c1bec0f6e2488c4e86d4c
tree25acc41475384d9d364b6278d3cceea0139ac786
parent16b2308ed1a7f5771590580c091624899255c59f
drm/vc4: Add support for YUV planes.

This supports 420 and 422 subsampling with 2 or 3 planes, tested with
modetest.  It doesn't set up chroma subsampling position (which it
appears KMS doesn't deal with yet).

The LBM memory is overallocated in many cases, but apparently the docs
aren't quite correct and I'll probably need to look at the hardware
source to really figure it out.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_plane.c
drivers/gpu/drm/vc4/vc4_regs.h