]> git.baikalelectronics.ru Git - kernel.git/commit
drm: vc4: enable XBGR8888 and ABGR8888 pixel formats
authorRob Herring <robh@kernel.org>
Thu, 9 Jun 2016 21:19:25 +0000 (16:19 -0500)
committerEric Anholt <eric@anholt.net>
Fri, 8 Jul 2016 01:45:07 +0000 (18:45 -0700)
commit552134239e779e5d5af334618febd93b8aeacd43
tree8fcfe99a24b9ae6e6d33b4638867f39cb324709c
parentf7640da98a16378c846e1a3e66b19d87e15b1297
drm: vc4: enable XBGR8888 and ABGR8888 pixel formats

DRM_FORMAT_XBGR8888 and DRM_FORMAT_ABGR8888 are 2 of the native formats
used in Android, so enable them for VC4. There seems to be no logic behind
HVS_PIXEL_ORDER_xxxx naming, but HVS_PIXEL_ORDER_ARGB seems to work
correctly.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_plane.c