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

2022-06-22 Thread Kuogee Hsieh
On 6/22/2022 1:06 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2022-06-22 12:55:31) 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,

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

2022-06-22 Thread Stephen Boyd
Quoting Kuogee Hsieh (2022-06-22 12:55:31) > 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 complet

[Freedreno] [PATCH v2] 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(). This