drm/fourcc: Add formats R8, RG88, GR88
authorChad Versace <chad.versace@intel.com>
Thu, 9 Jul 2015 08:38:42 +0000 (01:38 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jul 2015 13:12:41 +0000 (15:12 +0200)
commit1055e0687f581cf988bb2239a00d1396e18ef114
tree6d3704d390b98fb3b37ec59b10341db8a025f0ff
parentec9f932ed41622d120de52a5b525e4d77b9ef17e
drm/fourcc: Add formats R8, RG88, GR88

The Kodi/XBMC developers want to transcode NV12 to RGB with OpenGL
shaders, importing the two source planes through
EGL_EXT_image_dma_buf_import. That requires importing the Y plane as an
R8 EGLImage and the UV plane as either an RG88 or GR88 EGLImage.

CC: Peter Frühberger <peter.fruehberger@gmail.com>
Cc: Rainer Hochecker <rainer.hochecker@onlinehome.de>
Cc: Benjamin Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Chad Versace <chad.versace@intel.com>
include/uapi/drm/drm_fourcc.h