drm: Add support for ABGR and XBGR for scanout
authorYalong Liu <yalong.liu@amlogic.com>
Fri, 20 Apr 2018 01:27:09 +0000 (09:27 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Fri, 20 Apr 2018 05:34:09 +0000 (22:34 -0700)
PD#160546: Add support for ABGR and XBGR for scanout

Change-Id: Id846f2db2431737a956a8f3474278938bd2905a1
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
drivers/amlogic/drm/am_meson_vpu.c

index 371b829..04a3981 100644 (file)
@@ -392,6 +392,8 @@ static const struct drm_plane_helper_funcs am_osd_helper_funcs = {
 static const uint32_t supported_drm_formats[] = {
        DRM_FORMAT_ARGB8888,
        DRM_FORMAT_XRGB8888,
+       DRM_FORMAT_ABGR8888,
+       DRM_FORMAT_XBGR8888,
        DRM_FORMAT_RGB888,
        DRM_FORMAT_RGB565,
 };