drm/vc4: Add support for NV21 and NV61.
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Thu, 16 Nov 2017 14:22:31 +0000 (14:22 +0000)
committerpopcornmix <popcornmix@gmail.com>
Tue, 6 Feb 2018 12:37:56 +0000 (12:37 +0000)
commit17b06b5ef4c3d9c78524e5e23ae4c4f8e3d74aa1
tree1f6248990edfb96617d9676b8ad29b2fa9d2f336
parente051bd8b495118439a0cbac4681b1dffc274c767
drm/vc4: Add support for NV21 and NV61.

NV12 (YUV420 2 plane) and NV16 (YUV422 2 plane) were
supported, but NV21 and NV61 (same but with Cb and Cr
swapped) weren't. Add them.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1f50799525e3401551dff2b0b2828b9ab892f75f.1510841336.git.dave.stevenson@raspberrypi.org
(cherry picked from commit cb20dd170d6a7d41e0f347998771b0e0db183438)
drivers/gpu/drm/vc4/vc4_plane.c