On Do, 2026-05-14 at 15:24 +0300, Tomi Valkeinen wrote:
> From: Marek Vasut <[email protected]>
> 
> The Renesas DSC Display Stream Compression is a bridge embedded in the
> Renesas R-Car V4H SoC. The bridge performs VESA DSC encoding of up to
> 8k or 400 Mpixel/s . Add rudimentary driver, which currently acts as a
> pass-through bridge and allows DSI1 to be operational on R-Car V4H.
> 
> Signed-off-by: Marek Vasut <[email protected]>
> [tomi.valkeinen: use bridge->next_bridge, minor changes]
> Signed-off-by: Tomi Valkeinen <[email protected]>
> ---
>  drivers/gpu/drm/renesas/rcar-du/Kconfig    |  13 +++
>  drivers/gpu/drm/renesas/rcar-du/Makefile   |   1 +
>  drivers/gpu/drm/renesas/rcar-du/rcar_dsc.c | 163 
> +++++++++++++++++++++++++++++
>  3 files changed, 177 insertions(+)
> 
> diff --git a/drivers/gpu/drm/renesas/rcar-du/Kconfig 
> b/drivers/gpu/drm/renesas/rcar-du/Kconfig
> index 840305fdeb49..a51f996d3537 100644
> --- a/drivers/gpu/drm/renesas/rcar-du/Kconfig
> +++ b/drivers/gpu/drm/renesas/rcar-du/Kconfig
> @@ -33,6 +33,19 @@ config DRM_RCAR_DW_HDMI
>       help
>         Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
>  
> +config DRM_RCAR_USE_DSC
> +     bool "R-Car DU DSC Encoder Support"
> +     depends on DRM_BRIDGE && OF
> +     depends on DRM_RCAR_DU || COMPILE_TEST
> +     default DRM_RCAR_DU
> +     help
> +       Enable support for the R-Car Display Unit embedded DSC encoder.
> +
> +config DRM_RCAR_DSC
> +     def_tristate DRM_RCAR_DU
> +     depends on DRM_RCAR_USE_DSC
> +     select RESET_CONTROLLER

No need to select RESET_CONTROLLER, the API is stubbed out if not
enabled.

regards
Philipp

Reply via email to