Message ID | 20220905163300.391692-6-thierry.reding@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/6] dt-bindings: display: simple-framebuffer: Support system memory framebuffers | expand |
Hi Am 05.09.22 um 18:32 schrieb Thierry Reding: > From: Thierry Reding <treding@nvidia.com> > > Add AB24 to the list of supported formats. The format helpers support > conversion to that format and it is documented in the simple-framebuffer > device tree bindings. > > Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> > --- > drivers/gpu/drm/tiny/simpledrm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c > index 16377b39f012..7829a12ba3dd 100644 > --- a/drivers/gpu/drm/tiny/simpledrm.c > +++ b/drivers/gpu/drm/tiny/simpledrm.c > @@ -563,6 +563,7 @@ static int simpledrm_device_init_mm(struct simpledrm_device *sdev) > static const uint32_t simpledrm_primary_plane_formats[] = { > DRM_FORMAT_XRGB8888, > DRM_FORMAT_ARGB8888, > + DRM_FORMAT_ABGR8888, > DRM_FORMAT_RGB565, > //DRM_FORMAT_XRGB1555, > //DRM_FORMAT_ARGB1555,
diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c index 16377b39f012..7829a12ba3dd 100644 --- a/drivers/gpu/drm/tiny/simpledrm.c +++ b/drivers/gpu/drm/tiny/simpledrm.c @@ -563,6 +563,7 @@ static int simpledrm_device_init_mm(struct simpledrm_device *sdev) static const uint32_t simpledrm_primary_plane_formats[] = { DRM_FORMAT_XRGB8888, DRM_FORMAT_ARGB8888, + DRM_FORMAT_ABGR8888, DRM_FORMAT_RGB565, //DRM_FORMAT_XRGB1555, //DRM_FORMAT_ARGB1555,