Hi Laurent, On Thu, Mar 28, 2019 at 09:07:22AM +0200, Laurent Pinchart wrote: > Add support for the DRM_FORMAT_RGBA4444, DRM_FORMAT_RGBX4444, > DRM_FORMAT_ABGR4444, DRM_FORMAT_XBGR4444, DRM_FORMAT_BGRA4444 and > DRM_FORMAT_BGRX4444 formats to the DU driver. Those formats are only > available on Gen3. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/rcar-du/rcar_du_kms.c | 30 +++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c > index 4084136af845..4aaf623cbcd1 100644 > --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c > +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c > @@ -123,6 +123,36 @@ static const struct rcar_du_format_info rcar_du_format_infos[] = { > .v4l2 = V4L2_PIX_FMT_XRGB444, > .bpp = 16, > .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_RGBA4444, > + .v4l2 = V4L2_PIX_FMT_RGBA444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_RGBX4444, > + .v4l2 = V4L2_PIX_FMT_RGBX444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_ABGR4444, > + .v4l2 = V4L2_PIX_FMT_ABGR444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_XBGR4444, > + .v4l2 = V4L2_PIX_FMT_XBGR444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_BGRA4444, > + .v4l2 = V4L2_PIX_FMT_BGRA444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_BGRX4444, > + .v4l2 = V4L2_PIX_FMT_BGRX444, > + .bpp = 16, > + .planes = 1, Compared the DRM and V4L2 format definitions, they look sane to me! Reviewed-by: Jacopo Mondi Thanks j > }, { > .fourcc = DRM_FORMAT_BGR888, > .v4l2 = V4L2_PIX_FMT_RGB24, > -- > Regards, > > Laurent Pinchart >