[PATCH 1/3] drm: rcar-du: DRM_RCAR_DW_HDMI should depend on ARCH_RENESAS
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Dec 15 10:24:30 UTC 2021
Hi Geert,
Thank you for the patch.
On Wed, Dec 15, 2021 at 10:27:45AM +0100, Geert Uytterhoeven wrote:
> The Renesas R-Car Gen3 and RZ/G2 internal HDMI encoder is only present
> on Renesas R-Car Gen3 and RZ/G2 SoCs. Hence add a dependency on
> ARCH_RENESAS, to prevent asking the user about this driver when
> configuring a kernel without Renesas SoC support.
>
> Fixes: 40d0fa7095d06c73 ("drm: rcar-du: Add Gen3 HDMI encoder support")
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---
> drivers/gpu/drm/rcar-du/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig
> index f6e6a6d5d987bf95..65d72be50f46f19e 100644
> --- a/drivers/gpu/drm/rcar-du/Kconfig
> +++ b/drivers/gpu/drm/rcar-du/Kconfig
> @@ -25,6 +25,7 @@ config DRM_RCAR_CMM
> config DRM_RCAR_DW_HDMI
> tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
> depends on DRM && OF
> + depends on ARCH_RENESAS || COMPILE_TEST
Let's move this entry first to keep alphabetical order.
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> select DRM_DW_HDMI
> help
> Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list