Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH] media: rcar-vin: Enable NV12 support for RZ/G2H
@ 2026-05-12 20:29 Prabhakar
  2026-05-13 19:07 ` Niklas Söderlund
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar @ 2026-05-12 20:29 UTC (permalink / raw)
  To: Niklas Söderlund, Laurent Pinchart, Jacopo Mondi,
	Tomi Valkeinen, Mauro Carvalho Chehab, Geert Uytterhoeven,
	Magnus Damm, Hans Verkuil
  Cc: linux-media, linux-renesas-soc, linux-kernel, Prabhakar, Biju Das,
	Fabrizio Castro, Lad Prabhakar, stable

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

The Renesas RZ/G2H (R8A774E1) SoC supports outputting NV12 format, but
this capability is currently not advertised by the driver.

Set the .nv12 flag to true in the rcar_info_r8a774e1 structure to enable
support for this format.

Fixes: fe98df32bd9e4 ("media: rcar-vin: Enable support for R8A774E1")
Cc: stable@vger.kernel.org
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/media/platform/renesas/rcar-vin/rcar-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
index c8d564aa1eba..e16b33096fd2 100644
--- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c
+++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
@@ -925,6 +925,7 @@ static const struct rvin_group_route rcar_info_r8a774e1_routes[] = {
 
 static const struct rvin_info rcar_info_r8a774e1 = {
 	.model = RCAR_GEN3,
+	.nv12 = true,
 	.max_width = 4096,
 	.max_height = 4096,
 	.routes = rcar_info_r8a774e1_routes,
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: rcar-vin: Enable NV12 support for RZ/G2H
  2026-05-12 20:29 [PATCH] media: rcar-vin: Enable NV12 support for RZ/G2H Prabhakar
@ 2026-05-13 19:07 ` Niklas Söderlund
  0 siblings, 0 replies; 2+ messages in thread
From: Niklas Söderlund @ 2026-05-13 19:07 UTC (permalink / raw)
  To: Prabhakar
  Cc: Laurent Pinchart, Jacopo Mondi, Tomi Valkeinen,
	Mauro Carvalho Chehab, Geert Uytterhoeven, Magnus Damm,
	Hans Verkuil, linux-media, linux-renesas-soc, linux-kernel,
	Biju Das, Fabrizio Castro, Lad Prabhakar, stable

Hello Prabhakar,

Thanks for your work.

On 2026-05-12 21:29:31 +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 
> The Renesas RZ/G2H (R8A774E1) SoC supports outputting NV12 format, but
> this capability is currently not advertised by the driver.
> 
> Set the .nv12 flag to true in the rcar_info_r8a774e1 structure to enable
> support for this format.
> 
> Fixes: fe98df32bd9e4 ("media: rcar-vin: Enable support for R8A774E1")
> Cc: stable@vger.kernel.org
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  drivers/media/platform/renesas/rcar-vin/rcar-core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
> index c8d564aa1eba..e16b33096fd2 100644
> --- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c
> +++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
> @@ -925,6 +925,7 @@ static const struct rvin_group_route rcar_info_r8a774e1_routes[] = {
>  
>  static const struct rvin_info rcar_info_r8a774e1 = {
>  	.model = RCAR_GEN3,
> +	.nv12 = true,
>  	.max_width = 4096,
>  	.max_height = 4096,
>  	.routes = rcar_info_r8a774e1_routes,
> -- 
> 2.54.0
> 

-- 
Kind Regards,
Niklas Söderlund

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-13 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 20:29 [PATCH] media: rcar-vin: Enable NV12 support for RZ/G2H Prabhakar
2026-05-13 19:07 ` Niklas Söderlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox