[PATCH 2/2] drm: vc4: enable XBGR8888 and ABGR8888 pixel formats

2016-07-07 Thread Eric Anholt
Eric Anholt writes: > Rob Herring writes: > >> DRM_FORMAT_XBGR and DRM_FORMAT_ABGR are 2 of the native formats >> used in Android, so enable them for VC4. There seems to be no logic behind >> HVS_PIXEL_ORDER_ naming, but HVS_PIXEL_ORDER_ARGB seems to work >> correctly. > > Spent a li

[PATCH 2/2] drm: vc4: enable XBGR8888 and ABGR8888 pixel formats

2016-06-09 Thread Eric Anholt
Rob Herring writes: > DRM_FORMAT_XBGR and DRM_FORMAT_ABGR are 2 of the native formats > used in Android, so enable them for VC4. There seems to be no logic behind > HVS_PIXEL_ORDER_ naming, but HVS_PIXEL_ORDER_ARGB seems to work > correctly. Spent a little bit digging into how the pi

[PATCH 2/2] drm: vc4: enable XBGR8888 and ABGR8888 pixel formats

2016-06-09 Thread Rob Herring
DRM_FORMAT_XBGR and DRM_FORMAT_ABGR are 2 of the native formats used in Android, so enable them for VC4. There seems to be no logic behind HVS_PIXEL_ORDER_ naming, but HVS_PIXEL_ORDER_ARGB seems to work correctly. Signed-off-by: Rob Herring --- drivers/gpu/drm/vc4/vc4_plane.c | 8 +++