mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 23:26:49 +07:00
drm: rcar-du: Add support for missing 16-bit RGB1555 formats
Add support for the DRM_FORMAT_RGBA5551, DRM_FORMAT_RGBX5551, DRM_FORMAT_ABGR1555, DRM_FORMAT_XBGR1555, DRM_FORMAT_BGRA5551 and DRM_FORMAT_BGRX5551 formats to the DU driver. Those formats are only available on Gen3. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Acked-by: Daniel Vetter <daniel@ffwll.ch>
This commit is contained in:
parent
e158dbb0e6
commit
cb5f15b711
@ -153,6 +153,36 @@ static const struct rcar_du_format_info rcar_du_format_infos[] = {
|
||||
.v4l2 = V4L2_PIX_FMT_BGRX444,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_RGBA5551,
|
||||
.v4l2 = V4L2_PIX_FMT_RGBA555,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_RGBX5551,
|
||||
.v4l2 = V4L2_PIX_FMT_RGBX555,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_ABGR1555,
|
||||
.v4l2 = V4L2_PIX_FMT_ABGR555,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_XBGR1555,
|
||||
.v4l2 = V4L2_PIX_FMT_XBGR555,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_BGRA5551,
|
||||
.v4l2 = V4L2_PIX_FMT_BGRA555,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_BGRX5551,
|
||||
.v4l2 = V4L2_PIX_FMT_BGRX555,
|
||||
.bpp = 16,
|
||||
.planes = 1,
|
||||
}, {
|
||||
.fourcc = DRM_FORMAT_BGR888,
|
||||
.v4l2 = V4L2_PIX_FMT_RGB24,
|
||||
|
Loading…
Reference in New Issue
Block a user