* [PATCH v2 0/2] drm: renesas: Extend RZ/G2L KMS formats
@ 2025-03-30 10:23 Biju Das
2025-03-30 10:23 ` [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info Biju Das
2025-03-30 10:23 ` [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats Biju Das
0 siblings, 2 replies; 7+ messages in thread
From: Biju Das @ 2025-03-30 10:23 UTC (permalink / raw)
To: Biju Das, Maarten Lankhorst, Kieran Bingham, Laurent Pinchart,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter
Cc: dri-devel, linux-renesas-soc, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das
The RPF module on VSDP supports various format conversion and send the
image data to BRS(Blend ROP Sub Unit) for further processing.
The rzg2l_du_kms component lists a restricted subset of the capabilities
of the VSPD which prevents additional formats from being used for
display planes.
Extend RZ/G2L supported KMS formats. Also drop the unused bpp variable
from struct rzg2l_du_format_info.
Sending v2 as per the agreement with Kieran on #renesas-soc irc.
v1->v2:
* Dropped the unused variable bpp from struct rzg2l_du_format_info.
* Updated the commit description.
* Collected tags
* Dropped bpp entries.
Biju Das (1):
drm: renesas: rz-du: Drop bpp variable from struct
rzg2l_du_format_info
Kieran Bingham (1):
drm: renesas: Extend RZ/G2L supported KMS formats
drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 120 +++++++++++++++++--
drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h | 1 -
2 files changed, 113 insertions(+), 8 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info 2025-03-30 10:23 [PATCH v2 0/2] drm: renesas: Extend RZ/G2L KMS formats Biju Das @ 2025-03-30 10:23 ` Biju Das 2025-03-30 11:12 ` Laurent Pinchart 2025-04-03 9:21 ` Kieran Bingham 2025-03-30 10:23 ` [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats Biju Das 1 sibling, 2 replies; 7+ messages in thread From: Biju Das @ 2025-03-30 10:23 UTC (permalink / raw) To: Biju Das, Maarten Lankhorst, Kieran Bingham, Laurent Pinchart, Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter Cc: dri-devel, linux-renesas-soc, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das Drop the unused variable bpp from struct rzg2l_du_format_info. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> --- v2: * New patch. --- drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 3 --- drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c index 90c6269ccd29..1a428ab3c424 100644 --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c @@ -38,19 +38,16 @@ static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { { .fourcc = DRM_FORMAT_XRGB8888, .v4l2 = V4L2_PIX_FMT_XBGR32, - .bpp = 32, .planes = 1, .hsub = 1, }, { .fourcc = DRM_FORMAT_ARGB8888, .v4l2 = V4L2_PIX_FMT_ABGR32, - .bpp = 32, .planes = 1, .hsub = 1, }, { .fourcc = DRM_FORMAT_RGB888, .v4l2 = V4L2_PIX_FMT_BGR24, - .bpp = 24, .planes = 1, .hsub = 1, } diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h index 876e97cfbf45..e2c599f115c6 100644 --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h @@ -23,7 +23,6 @@ struct sg_table; struct rzg2l_du_format_info { u32 fourcc; u32 v4l2; - unsigned int bpp; unsigned int planes; unsigned int hsub; }; -- 2.43.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info 2025-03-30 10:23 ` [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info Biju Das @ 2025-03-30 11:12 ` Laurent Pinchart 2025-04-03 9:21 ` Kieran Bingham 1 sibling, 0 replies; 7+ messages in thread From: Laurent Pinchart @ 2025-03-30 11:12 UTC (permalink / raw) To: Biju Das Cc: Maarten Lankhorst, Kieran Bingham, Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter, dri-devel, linux-renesas-soc, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das Hi Biju, Thank you for the patch. On Sun, Mar 30, 2025 at 11:23:52AM +0100, Biju Das wrote: > Drop the unused variable bpp from struct rzg2l_du_format_info. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> > --- > v2: > * New patch. > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 3 --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h | 1 - > 2 files changed, 4 deletions(-) > > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > index 90c6269ccd29..1a428ab3c424 100644 > --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > @@ -38,19 +38,16 @@ static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { > { > .fourcc = DRM_FORMAT_XRGB8888, > .v4l2 = V4L2_PIX_FMT_XBGR32, > - .bpp = 32, > .planes = 1, > .hsub = 1, > }, { > .fourcc = DRM_FORMAT_ARGB8888, > .v4l2 = V4L2_PIX_FMT_ABGR32, > - .bpp = 32, > .planes = 1, > .hsub = 1, > }, { > .fourcc = DRM_FORMAT_RGB888, > .v4l2 = V4L2_PIX_FMT_BGR24, > - .bpp = 24, > .planes = 1, > .hsub = 1, > } > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > index 876e97cfbf45..e2c599f115c6 100644 > --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > @@ -23,7 +23,6 @@ struct sg_table; > struct rzg2l_du_format_info { > u32 fourcc; > u32 v4l2; > - unsigned int bpp; > unsigned int planes; > unsigned int hsub; > }; -- Regards, Laurent Pinchart ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info 2025-03-30 10:23 ` [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info Biju Das 2025-03-30 11:12 ` Laurent Pinchart @ 2025-04-03 9:21 ` Kieran Bingham 1 sibling, 0 replies; 7+ messages in thread From: Kieran Bingham @ 2025-04-03 9:21 UTC (permalink / raw) To: Biju Das, David Airlie, Laurent Pinchart, Maarten Lankhorst, Maxime Ripard, Simona Vetter, Thomas Zimmermann Cc: dri-devel, linux-renesas-soc, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das Quoting Biju Das (2025-03-30 11:23:52) > Drop the unused variable bpp from struct rzg2l_du_format_info. > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > --- > v2: > * New patch. > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 3 --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h | 1 - > 2 files changed, 4 deletions(-) > > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > index 90c6269ccd29..1a428ab3c424 100644 > --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > @@ -38,19 +38,16 @@ static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { > { > .fourcc = DRM_FORMAT_XRGB8888, > .v4l2 = V4L2_PIX_FMT_XBGR32, > - .bpp = 32, > .planes = 1, > .hsub = 1, > }, { > .fourcc = DRM_FORMAT_ARGB8888, > .v4l2 = V4L2_PIX_FMT_ABGR32, > - .bpp = 32, > .planes = 1, > .hsub = 1, > }, { > .fourcc = DRM_FORMAT_RGB888, > .v4l2 = V4L2_PIX_FMT_BGR24, > - .bpp = 24, > .planes = 1, > .hsub = 1, > } > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > index 876e97cfbf45..e2c599f115c6 100644 > --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.h > @@ -23,7 +23,6 @@ struct sg_table; > struct rzg2l_du_format_info { > u32 fourcc; > u32 v4l2; > - unsigned int bpp; > unsigned int planes; > unsigned int hsub; > }; > -- > 2.43.0 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats 2025-03-30 10:23 [PATCH v2 0/2] drm: renesas: Extend RZ/G2L KMS formats Biju Das 2025-03-30 10:23 ` [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info Biju Das @ 2025-03-30 10:23 ` Biju Das 2025-04-03 8:36 ` Tommaso Merciai 2025-04-07 6:40 ` Biju Das 1 sibling, 2 replies; 7+ messages in thread From: Biju Das @ 2025-03-30 10:23 UTC (permalink / raw) To: Biju Das, Maarten Lankhorst, Kieran Bingham, Laurent Pinchart, Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter Cc: dri-devel, linux-renesas-soc, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> The RZ/G2L driver utilises the VSPD to read data from input sources. The rzg2l_du_kms component lists a restricted subset of the capabilities of the VSPD which prevents additional formats from being used for display planes. The supported display plane formats are mapped in rzg2l_du_vsp_formats[]. Extend the rzg2l_du_format_infos[] table with the corresponding mappings between the supported DRM formats and the formats exposed by the VSP in rzg2l_du_vsp_formats, maintaining the same ordering in both tables. The RPF module on VSDP supports various format conversion and send the image data to BRS(Blend ROP Sub Unit) for further processing. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- v1->v2: * Updated commit description. * Collected tags * Dropped bpp entries. --- drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 117 ++++++++++++++++++- 1 file changed, 113 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c index 1a428ab3c424..55a97691e9b2 100644 --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c @@ -36,13 +36,37 @@ static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { { - .fourcc = DRM_FORMAT_XRGB8888, - .v4l2 = V4L2_PIX_FMT_XBGR32, + .fourcc = DRM_FORMAT_RGB332, + .v4l2 = V4L2_PIX_FMT_RGB332, .planes = 1, .hsub = 1, }, { - .fourcc = DRM_FORMAT_ARGB8888, - .v4l2 = V4L2_PIX_FMT_ABGR32, + .fourcc = DRM_FORMAT_ARGB4444, + .v4l2 = V4L2_PIX_FMT_ARGB444, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_XRGB4444, + .v4l2 = V4L2_PIX_FMT_XRGB444, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_ARGB1555, + .v4l2 = V4L2_PIX_FMT_ARGB555, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_XRGB1555, + .v4l2 = V4L2_PIX_FMT_XRGB555, + .planes = 1, + }, { + .fourcc = DRM_FORMAT_RGB565, + .v4l2 = V4L2_PIX_FMT_RGB565, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_BGR888, + .v4l2 = V4L2_PIX_FMT_RGB24, .planes = 1, .hsub = 1, }, { @@ -50,6 +74,91 @@ static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { .v4l2 = V4L2_PIX_FMT_BGR24, .planes = 1, .hsub = 1, + }, { + .fourcc = DRM_FORMAT_BGRA8888, + .v4l2 = V4L2_PIX_FMT_ARGB32, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_BGRX8888, + .v4l2 = V4L2_PIX_FMT_XRGB32, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_ARGB8888, + .v4l2 = V4L2_PIX_FMT_ABGR32, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_XRGB8888, + .v4l2 = V4L2_PIX_FMT_XBGR32, + .planes = 1, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_UYVY, + .v4l2 = V4L2_PIX_FMT_UYVY, + .planes = 1, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YUYV, + .v4l2 = V4L2_PIX_FMT_YUYV, + .planes = 1, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YVYU, + .v4l2 = V4L2_PIX_FMT_YVYU, + .planes = 1, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_NV12, + .v4l2 = V4L2_PIX_FMT_NV12M, + .planes = 2, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_NV21, + .v4l2 = V4L2_PIX_FMT_NV21M, + .planes = 2, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_NV16, + .v4l2 = V4L2_PIX_FMT_NV16M, + .planes = 2, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_NV61, + .v4l2 = V4L2_PIX_FMT_NV61M, + .planes = 2, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YUV420, + .v4l2 = V4L2_PIX_FMT_YUV420M, + .planes = 3, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YVU420, + .v4l2 = V4L2_PIX_FMT_YVU420M, + .planes = 3, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YUV422, + .v4l2 = V4L2_PIX_FMT_YUV422M, + .planes = 3, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YVU422, + .v4l2 = V4L2_PIX_FMT_YVU422M, + .planes = 3, + .hsub = 2, + }, { + .fourcc = DRM_FORMAT_YUV444, + .v4l2 = V4L2_PIX_FMT_YUV444M, + .planes = 3, + .hsub = 1, + }, { + .fourcc = DRM_FORMAT_YVU444, + .v4l2 = V4L2_PIX_FMT_YVU444M, + .planes = 3, + .hsub = 1, } }; -- 2.43.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats 2025-03-30 10:23 ` [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats Biju Das @ 2025-04-03 8:36 ` Tommaso Merciai 2025-04-07 6:40 ` Biju Das 1 sibling, 0 replies; 7+ messages in thread From: Tommaso Merciai @ 2025-04-03 8:36 UTC (permalink / raw) To: Biju Das Cc: Maarten Lankhorst, Kieran Bingham, Laurent Pinchart, Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter, dri-devel, linux-renesas-soc, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das Hi Biju, Kieran, Thank you for the patch. On Sun, Mar 30, 2025 at 11:23:53AM +0100, Biju Das wrote: > From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > > The RZ/G2L driver utilises the VSPD to read data from input sources. > > The rzg2l_du_kms component lists a restricted subset of the capabilities > of the VSPD which prevents additional formats from being used for > display planes. > > The supported display plane formats are mapped in rzg2l_du_vsp_formats[]. > > Extend the rzg2l_du_format_infos[] table with the corresponding mappings > between the supported DRM formats and the formats exposed by the VSP in > rzg2l_du_vsp_formats, maintaining the same ordering in both tables. > > The RPF module on VSDP supports various format conversion and send the > image data to BRS(Blend ROP Sub Unit) for further processing. > > Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> > Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com> Thanks & Regards, Tommaso > --- > v1->v2: > * Updated commit description. > * Collected tags > * Dropped bpp entries. > --- > drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c | 117 ++++++++++++++++++- > 1 file changed, 113 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > index 1a428ab3c424..55a97691e9b2 100644 > --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c > @@ -36,13 +36,37 @@ > > static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { > { > - .fourcc = DRM_FORMAT_XRGB8888, > - .v4l2 = V4L2_PIX_FMT_XBGR32, > + .fourcc = DRM_FORMAT_RGB332, > + .v4l2 = V4L2_PIX_FMT_RGB332, > .planes = 1, > .hsub = 1, > }, { > - .fourcc = DRM_FORMAT_ARGB8888, > - .v4l2 = V4L2_PIX_FMT_ABGR32, > + .fourcc = DRM_FORMAT_ARGB4444, > + .v4l2 = V4L2_PIX_FMT_ARGB444, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_XRGB4444, > + .v4l2 = V4L2_PIX_FMT_XRGB444, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_ARGB1555, > + .v4l2 = V4L2_PIX_FMT_ARGB555, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_XRGB1555, > + .v4l2 = V4L2_PIX_FMT_XRGB555, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_RGB565, > + .v4l2 = V4L2_PIX_FMT_RGB565, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_BGR888, > + .v4l2 = V4L2_PIX_FMT_RGB24, > .planes = 1, > .hsub = 1, > }, { > @@ -50,6 +74,91 @@ static const struct rzg2l_du_format_info rzg2l_du_format_infos[] = { > .v4l2 = V4L2_PIX_FMT_BGR24, > .planes = 1, > .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_BGRA8888, > + .v4l2 = V4L2_PIX_FMT_ARGB32, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_BGRX8888, > + .v4l2 = V4L2_PIX_FMT_XRGB32, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_ARGB8888, > + .v4l2 = V4L2_PIX_FMT_ABGR32, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_XRGB8888, > + .v4l2 = V4L2_PIX_FMT_XBGR32, > + .planes = 1, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_UYVY, > + .v4l2 = V4L2_PIX_FMT_UYVY, > + .planes = 1, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YUYV, > + .v4l2 = V4L2_PIX_FMT_YUYV, > + .planes = 1, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YVYU, > + .v4l2 = V4L2_PIX_FMT_YVYU, > + .planes = 1, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_NV12, > + .v4l2 = V4L2_PIX_FMT_NV12M, > + .planes = 2, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_NV21, > + .v4l2 = V4L2_PIX_FMT_NV21M, > + .planes = 2, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_NV16, > + .v4l2 = V4L2_PIX_FMT_NV16M, > + .planes = 2, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_NV61, > + .v4l2 = V4L2_PIX_FMT_NV61M, > + .planes = 2, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YUV420, > + .v4l2 = V4L2_PIX_FMT_YUV420M, > + .planes = 3, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YVU420, > + .v4l2 = V4L2_PIX_FMT_YVU420M, > + .planes = 3, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YUV422, > + .v4l2 = V4L2_PIX_FMT_YUV422M, > + .planes = 3, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YVU422, > + .v4l2 = V4L2_PIX_FMT_YVU422M, > + .planes = 3, > + .hsub = 2, > + }, { > + .fourcc = DRM_FORMAT_YUV444, > + .v4l2 = V4L2_PIX_FMT_YUV444M, > + .planes = 3, > + .hsub = 1, > + }, { > + .fourcc = DRM_FORMAT_YVU444, > + .v4l2 = V4L2_PIX_FMT_YVU444M, > + .planes = 3, > + .hsub = 1, > } > }; > > -- > 2.43.0 > ^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats 2025-03-30 10:23 ` [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats Biju Das 2025-04-03 8:36 ` Tommaso Merciai @ 2025-04-07 6:40 ` Biju Das 1 sibling, 0 replies; 7+ messages in thread From: Biju Das @ 2025-04-07 6:40 UTC (permalink / raw) To: Biju Das, Maarten Lankhorst, Kieran Bingham, Laurent Pinchart, Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven, Prabhakar Mahadev Lad, biju.das.au Hi All, > -----Original Message----- > From: Biju Das <biju.das.jz@bp.renesas.com> > Sent: 30 March 2025 11:24 > Subject: [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats > > From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > > The RZ/G2L driver utilises the VSPD to read data from input sources. > > The rzg2l_du_kms component lists a restricted subset of the capabilities of the VSPD which prevents > additional formats from being used for display planes. > > The supported display plane formats are mapped in rzg2l_du_vsp_formats[]. > > Extend the rzg2l_du_format_infos[] table with the corresponding mappings between the supported DRM > formats and the formats exposed by the VSP in rzg2l_du_vsp_formats, maintaining the same ordering in > both tables. > > The RPF module on VSDP supports various format conversion and send the image data to BRS(Blend ROP Sub Fixed the typo VSDP->VSPD while applying to drm-misc-next. Cheers, Biju ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-04-07 6:40 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-03-30 10:23 [PATCH v2 0/2] drm: renesas: Extend RZ/G2L KMS formats Biju Das 2025-03-30 10:23 ` [PATCH v2 1/2] drm: renesas: rz-du: Drop bpp variable from struct rzg2l_du_format_info Biju Das 2025-03-30 11:12 ` Laurent Pinchart 2025-04-03 9:21 ` Kieran Bingham 2025-03-30 10:23 ` [PATCH v2 2/2] drm: renesas: Extend RZ/G2L supported KMS formats Biju Das 2025-04-03 8:36 ` Tommaso Merciai 2025-04-07 6:40 ` Biju Das
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.