[PATCH 2/2] drm: vc4: enable XBGR8888 and ABGR8888 pixel formats
Eric Anholt
eric at anholt.net
Fri Jul 8 01:47:16 UTC 2016
Eric Anholt <eric at anholt.net> writes:
> Rob Herring <robh at kernel.org> writes:
>
>> 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.
>
> Spent a little bit digging into how the pixel orderings work and didn't
> come up with an answer. I'll try to look into this one again later.
Never came up with a good answer, but it's rendering correctly in
modetest, so I've reviewed and applied it to drm-vc4-next.
Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160707/690f680e/attachment.sig>
More information about the dri-devel
mailing list