projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
499a8c6
)
drm: Add support for ABGR and XBGR for scanout
author
Yalong Liu
<yalong.liu@amlogic.com>
Fri, 20 Apr 2018 01:27:09 +0000
(09:27 +0800)
committer
Yixun 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
patch
|
blob
|
history
diff --git
a/drivers/amlogic/drm/am_meson_vpu.c
b/drivers/amlogic/drm/am_meson_vpu.c
index
371b829
..
04a3981
100644
(file)
--- 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,
};