diff mbox series

drm/bridge: fix LONTIUM_LT8912B dependencies

Message ID 20210504220207.4004511-1-adrien.grassein@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm/bridge: fix LONTIUM_LT8912B dependencies | expand

Commit Message

Adrien Grassein May 4, 2021, 10:02 p.m. UTC
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@suse.de>
Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Robert Foss May 5, 2021, 2:28 p.m. UTC | #1
Hi Adrien,

Thanks for the quick fix.

On Wed, 5 May 2021 at 00:02, Adrien Grassein <adrien.grassein@gmail.com> 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@suse.de>
> Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
> ---
>  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.
>

Reviewed-by: Robert Foss <robert.foss@linaro.org>
Robert Foss May 5, 2021, 2:30 p.m. UTC | #2
Pushed to drm-misc-next

On Wed, 5 May 2021 at 16:28, Robert Foss <robert.foss@linaro.org> wrote:
>
> Hi Adrien,
>
> Thanks for the quick fix.
>
> On Wed, 5 May 2021 at 00:02, Adrien Grassein <adrien.grassein@gmail.com> 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@suse.de>
> > Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
> > ---
> >  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.
> >
>
> Reviewed-by: Robert Foss <robert.foss@linaro.org>
Michal Suchanek May 5, 2021, 5:18 p.m. UTC | #3
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@suse.de>
> Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
> ---
>  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
diff mbox series

Patch

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.