Re: [PATCH] drm/bridge: fix LONTIUM_LT8912B dependencies

From: Michal Suchánek
Date: Wed May 05 2021 - 13:24:21 EST


On Wed, May 05, 2021 at 12:02:07AM +0200, Adrien Grassein wrote:
> LONTIUM_LT8912B uses "drm_display_mode_to_videomode" from
> DRM framework that needs VIDEOMODE_HELPERS to be enabled.
>
> Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge")
> Reported-by: Michal Suchánek <msuchanek@xxxxxxx>
> Signed-off-by: Adrien Grassein <adrien.grassein@xxxxxxxxx>
> ---
> drivers/gpu/drm/bridge/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
> index 400193e38d29..70bcceaae9bf 100644
> --- a/drivers/gpu/drm/bridge/Kconfig
> +++ b/drivers/gpu/drm/bridge/Kconfig
> @@ -68,6 +68,7 @@ config DRM_LONTIUM_LT8912B
> select DRM_KMS_HELPER
> select DRM_MIPI_DSI
> select REGMAP_I2C
> + select VIDEOMODE_HELPERS
> help
> Driver for Lontium LT8912B DSI to HDMI bridge
> chip driver.

Indeed, this fixes the problem.

Thanks

Michal