Re: [Freedreno] [PATCH] drm/msm/dp: reset drm_dev to NULL at dp_display_unbind()

2022-06-22 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-06-22 09:54:05) > During msm initialize phase, dp_display_unbind() will be called to undo > initializations had been done by dp_display_bind() previously if there is > error happen at msm_drm_bind. Under this kind of circumstance, drm_device > may not be populated

Re: [Freedreno] [PATCH] drm/msm/dp: reset drm_dev to NULL at dp_display_unbind()

2022-06-22 Thread Dmitry Baryshkov
On 22/06/2022 19:54, Kuogee Hsieh wrote: During msm initialize phase, dp_display_unbind() will be called to undo initializations had been done by dp_display_bind() previously if there is error happen at msm_drm_bind. Under this kind of circumstance, drm_device may not be populated completed

[Freedreno] [PATCH] drm/msm/dp: reset drm_dev to NULL at dp_display_unbind()

2022-06-22 Thread Kuogee Hsieh
During msm initialize phase, dp_display_unbind() will be called to undo initializations had been done by dp_display_bind() previously if there is error happen at msm_drm_bind. Under this kind of circumstance, drm_device may not be populated completed which causes system crash at drm_dev_dbg().