Message ID | 20210415183639.1487-1-rdunlap@infradead.org |
---|---|
State | New |
Headers | show |
Series | [-next] drm: bridge: fix LONTIUM use of mipi_dsi_() functions | expand |
Reviewed-by: Adren Grassein <adrien.grassein@gmail.com> Le jeu. 15 avr. 2021 à 20:36, Randy Dunlap <rdunlap@infradead.org> a écrit : > > The Lontium DRM bridge drivers use mipi_dsi_() function interfaces so > they need to select DRM_MIPI_DSI to prevent build errors. > > ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) > > Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") > Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge") > Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Reported-by: kernel test robot <lkp@intel.com> > Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Cc: Sam Ravnborg <sam@ravnborg.org> > Cc: Vinod Koul <vkoul@kernel.org> > Cc: Bjorn Andersson <bjorn.andersson@linaro.org> > Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > Cc: Adrien Grassein <adrien.grassein@gmail.com> > Cc: Andrzej Hajda <a.hajda@samsung.com> > Cc: Neil Armstrong <narmstrong@baylibre.com> > Cc: Robert Foss <robert.foss@linaro.org> > Cc: dri-devel@lists.freedesktop.org > Cc: stable@vger.kernel.org > --- > drivers/gpu/drm/bridge/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > --- linux-next-20210414.orig/drivers/gpu/drm/bridge/Kconfig > +++ linux-next-20210414/drivers/gpu/drm/bridge/Kconfig > @@ -66,6 +66,7 @@ config DRM_LONTIUM_LT8912B > depends on OF > select DRM_PANEL_BRIDGE > select DRM_KMS_HELPER > + select DRM_MIPI_DSI > select REGMAP_I2C > help > Driver for Lontium LT8912B DSI to HDMI bridge > @@ -81,6 +82,7 @@ config DRM_LONTIUM_LT9611 > depends on OF > select DRM_PANEL_BRIDGE > select DRM_KMS_HELPER > + select DRM_MIPI_DSI > select REGMAP_I2C > help > Driver for Lontium LT9611 DSI to HDMI bridge > @@ -94,6 +96,7 @@ config DRM_LONTIUM_LT9611UXC > depends on OF > select DRM_PANEL_BRIDGE > select DRM_KMS_HELPER > + select DRM_MIPI_DSI > select REGMAP_I2C > help > Driver for Lontium LT9611UXC DSI to HDMI bridge
Merged for 5.13 in drm-misc-next-fixes On Thu, 15 Apr 2021 at 21:36, Adrien Grassein <adrien.grassein@gmail.com> wrote: > > Reviewed-by: Adren Grassein <adrien.grassein@gmail.com> > > Le jeu. 15 avr. 2021 à 20:36, Randy Dunlap <rdunlap@infradead.org> a écrit : > > > > The Lontium DRM bridge drivers use mipi_dsi_() function interfaces so > > they need to select DRM_MIPI_DSI to prevent build errors. > > > > ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > > ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > > ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > > ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > > ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! > > ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > > ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > > ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > > ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > > ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! > > WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) > > > > Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") > > Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge") > > Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > > Reported-by: kernel test robot <lkp@intel.com> > > Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > Cc: Sam Ravnborg <sam@ravnborg.org> > > Cc: Vinod Koul <vkoul@kernel.org> > > Cc: Bjorn Andersson <bjorn.andersson@linaro.org> > > Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> > > Cc: Adrien Grassein <adrien.grassein@gmail.com> > > Cc: Andrzej Hajda <a.hajda@samsung.com> > > Cc: Neil Armstrong <narmstrong@baylibre.com> > > Cc: Robert Foss <robert.foss@linaro.org> > > Cc: dri-devel@lists.freedesktop.org > > Cc: stable@vger.kernel.org > > --- > > drivers/gpu/drm/bridge/Kconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > > > --- linux-next-20210414.orig/drivers/gpu/drm/bridge/Kconfig > > +++ linux-next-20210414/drivers/gpu/drm/bridge/Kconfig > > @@ -66,6 +66,7 @@ config DRM_LONTIUM_LT8912B > > depends on OF > > select DRM_PANEL_BRIDGE > > select DRM_KMS_HELPER > > + select DRM_MIPI_DSI > > select REGMAP_I2C > > help > > Driver for Lontium LT8912B DSI to HDMI bridge > > @@ -81,6 +82,7 @@ config DRM_LONTIUM_LT9611 > > depends on OF > > select DRM_PANEL_BRIDGE > > select DRM_KMS_HELPER > > + select DRM_MIPI_DSI > > select REGMAP_I2C > > help > > Driver for Lontium LT9611 DSI to HDMI bridge > > @@ -94,6 +96,7 @@ config DRM_LONTIUM_LT9611UXC > > depends on OF > > select DRM_PANEL_BRIDGE > > select DRM_KMS_HELPER > > + select DRM_MIPI_DSI > > select REGMAP_I2C > > help > > Driver for Lontium LT9611UXC DSI to HDMI bridge
--- linux-next-20210414.orig/drivers/gpu/drm/bridge/Kconfig +++ linux-next-20210414/drivers/gpu/drm/bridge/Kconfig @@ -66,6 +66,7 @@ config DRM_LONTIUM_LT8912B depends on OF select DRM_PANEL_BRIDGE select DRM_KMS_HELPER + select DRM_MIPI_DSI select REGMAP_I2C help Driver for Lontium LT8912B DSI to HDMI bridge @@ -81,6 +82,7 @@ config DRM_LONTIUM_LT9611 depends on OF select DRM_PANEL_BRIDGE select DRM_KMS_HELPER + select DRM_MIPI_DSI select REGMAP_I2C help Driver for Lontium LT9611 DSI to HDMI bridge @@ -94,6 +96,7 @@ config DRM_LONTIUM_LT9611UXC depends on OF select DRM_PANEL_BRIDGE select DRM_KMS_HELPER + select DRM_MIPI_DSI select REGMAP_I2C help Driver for Lontium LT9611UXC DSI to HDMI bridge
The Lontium DRM bridge drivers use mipi_dsi_() function interfaces so they need to select DRM_MIPI_DSI to prevent build errors. ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611uxc.ko] undefined! ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined! WARNING: modpost: suppressed 5 unresolved symbol warnings because there were too many) Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC bridge") Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Vinod Koul <vkoul@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Adrien Grassein <adrien.grassein@gmail.com> Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: Neil Armstrong <narmstrong@baylibre.com> Cc: Robert Foss <robert.foss@linaro.org> Cc: dri-devel@lists.freedesktop.org Cc: stable@vger.kernel.org --- drivers/gpu/drm/bridge/Kconfig | 3 +++ 1 file changed, 3 insertions(+)