aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/sun4i_layer.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2018-11-23 10:24:53 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-11-27 09:56:53 +0100
commitb636d3f97d041cbb5e782a29b282c40cbd77c0aa (patch)
treec19f8b3bc9cfb5988dfd77d325f0421ee1487f79 /drivers/gpu/drm/sun4i/sun4i_layer.c
parentdrm/sun4i: frontend: Determine input mode based on the number of planes (diff)
downloadlinux-dev-b636d3f97d041cbb5e782a29b282c40cbd77c0aa.tar.xz
linux-dev-b636d3f97d041cbb5e782a29b282c40cbd77c0aa.zip
drm/sun4i: frontend: Add support for the BGRX8888 input format
This introduces support for the BGRX8888 input format for the frontend, with its associated pixel sequence value definition. Other fields are already configured correctly as they no longer depend on the format's fourcc directly. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181123092515.2511-22-paul.kocialkowski@bootlin.com
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/sun4i/sun4i_layer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_layer.c b/drivers/gpu/drm/sun4i/sun4i_layer.c
index 155933c62f00..29631e0efde3 100644
--- a/drivers/gpu/drm/sun4i/sun4i_layer.c
+++ b/drivers/gpu/drm/sun4i/sun4i_layer.c
@@ -133,6 +133,7 @@ static const uint32_t sun4i_layer_formats[] = {
DRM_FORMAT_ARGB8888,
DRM_FORMAT_ARGB4444,
DRM_FORMAT_ARGB1555,
+ DRM_FORMAT_BGRX8888,
DRM_FORMAT_RGBA5551,
DRM_FORMAT_RGBA4444,
DRM_FORMAT_RGB888,