drm/msm: remove exra drm_kms_helper_poll_init() call
PATCH 1/1 drm/msm: remove exra drm_kms_helper_poll_init() call
It seems during rebases I have left a call to drm_kms_helper_poll_init() which is not guarded by the (priv->kms_init) check. This leads to the crash for the boards which don't have KMS output. Drop this call, as there is a correctly guarded one next to the one being removed.
--- drivers/gpu/drm/msm/msm_drv.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/msm/msm_drv.c +0 -2
@@ -288,8 +288,6 @@ static int msm_drm_init(struct device *dev, const struct drm_driver *drv)if (ret) goto err_msm_uninit; -drm_kms_helper_poll_init (ddev); -if (priv->kms_init) {drm_kms_helper_poll_init (ddev);msm_fbdev_setup (ddev);
Signature · 1 line
2.42.0
Quoted 8 lines · Dmitry Baryshkov
It seems during rebases I have left a call to
drm_kms_helper_poll_init()which is not guarded by the (priv->kms_init) check. This leads to the crash for the boards which don't have KMS output. Drop this call, as there is a correctly guarded one next to the one being removed.Fixes 506efcba3129 ("drm/msm: carve out KMS code from msm_drv.c")Signed-off-by Dmitry Baryshkov <[email protected]>---
Abhinav Kumar
AppliedQuoted 6 lines · Dmitry Baryshkov
It seems during rebases I have left a call to
drm_kms_helper_poll_init()which is not guarded by the (priv->kms_init) check. This leads to the crash for the boards which don't have KMS output. Drop this call, as there is a correctly guarded one next to the one being removed.
Applied, thanks!
[1/1] drm/msm: remove exra drm_kms_helper_poll_init() call
https://gitlab.freedesktop.org/drm/msm/-/commit/3944e343e54b
Best regards,
Signature · 1 line
Abhinav Kumar <[email protected]>