[PATCH 2/5] drm/msm/dsi: drop msm_dsi_device_connected() function

Abhinav Kumar quic_abhinavk at quicinc.com
Wed Jan 10 22:53:51 UTC 2024



On 10/9/2023 1:57 PM, Dmitry Baryshkov wrote:
> Since the commit 8f59ee9a570c ("drm/msm/dsi: Adjust probe order") the
> DSI hosts are not bound through the component framework if the DSI
> driver wasn't attached to the DSI device connected to this host.
> 
> Afterwards, if there is no bridge (including the panel bridge) created
> for the DSI device then devm_drm_of_get_bridge() will return an error,
> also making msm_dsi_manager_ext_bridge_init() and thus DSI modesetting
> init fail.
> 
> This way there can be no 'unconnected' MSM DSI bridges. Remove the
> msm_dsi_device_connected() function.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>   drivers/gpu/drm/msm/dsi/dsi.h         | 6 ------
>   drivers/gpu/drm/msm/dsi/dsi_manager.c | 5 -----
>   2 files changed, 11 deletions(-)
> 

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>


More information about the dri-devel mailing list