drm/vc4: Use .pixel_order instead of custom .flip_cbcr
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Thu, 16 Nov 2017 14:22:30 +0000 (14:22 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:41:18 +0000 (17:41 +0000)
commit52e68f4d26e645cc3816d0f128b79c2db4630120
tree7d1953a81c28aa54853e0a71bb645c10ef4cc740
parentfdb867cc409646109541c4b35752451766aafa41
drm/vc4: Use .pixel_order instead of custom .flip_cbcr

The hardware has enums for altering the Cr and Cb order,
so use this instead of having a flag which swaps the
order the pointers are presented to the hardware
(that only worked for 3 plane formats anyway).

Explicitly sets .pixel_order in each case, rather than
relying on then default XYCBCR order being a value 0.

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/563872b69c1e5df142cb15ebfca7f20056b8a64c.1510841336.git.dave.stevenson@raspberrypi.org
(cherry picked from commit 090cb0c690183be849e2bfa0427220f1e435fa30)
drivers/gpu/drm/vc4/vc4_plane.c