Re: [PATCH] media: rcar-vin: Enable NV12 support for RZ/G2H

From: Niklas Söderlund

Date: Wed May 13 2026 - 15:27:23 EST


Hello Prabhakar,

Thanks for your work.

On 2026-05-12 21:29:31 +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

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

> ---
> 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