author | Yalong Liu <yalong.liu@amlogic.com> | 2018-04-20 01:27:09 (GMT) |
---|---|---|
committer | yang.xu <yang.xu@amlogic.com> | 2018-04-24 02:11:02 (GMT) |
commit | fec0eb1cedf4d302d1f158e763a3bda6bfe46fdd (patch) | |
tree | 9a4fac19a83818e5bcc66e24443ce86fb4d0fa56 | |
parent | b6fe00c897b42f62dd738e6f40238ccf9c20cb81 (diff) | |
download | common-fec0eb1cedf4d302d1f158e763a3bda6bfe46fdd.zip common-fec0eb1cedf4d302d1f158e763a3bda6bfe46fdd.tar.gz common-fec0eb1cedf4d302d1f158e763a3bda6bfe46fdd.tar.bz2 |
drm: Add support for ABGR and XBGR for scanout
PD#160546: Add support for ABGR and XBGR for scanout
Change-Id: Id846f2db2431737a956a8f3474278938bd2905a1
Signed-off-by: Yalong Liu <yalong.liu@amlogic.com>
-rw-r--r-- | drivers/amlogic/drm/am_meson_vpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/amlogic/drm/am_meson_vpu.c b/drivers/amlogic/drm/am_meson_vpu.c index 371b829..04a3981 100644 --- a/drivers/amlogic/drm/am_meson_vpu.c +++ b/drivers/amlogic/drm/am_meson_vpu.c @@ -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, }; |