Re: [PATCH] drm/msm/dpu: remove extra drm_encoder_cleanup from the error path

2023-12-12 Thread Dmitry Baryshkov
On Mon, 11 Dec 2023 17:54:40 +0300, Dmitry Baryshkov wrote: > The drmm handler will perform drm_encoder_cleanup() for us. Moreover if > we call drm_encoder_cleanup() manually, the drmm_encoder_alloc_release() > will spawn warnings at drivers/gpu/drm/drm_encoder.c:214. Drop these > extra drm_encod

Re: [PATCH] drm/msm/dpu: remove extra drm_encoder_cleanup from the error path

2023-12-11 Thread Abhinav Kumar
On 12/11/2023 6:54 AM, Dmitry Baryshkov wrote: The drmm handler will perform drm_encoder_cleanup() for us. Moreover if we call drm_encoder_cleanup() manually, the drmm_encoder_alloc_release() will spawn warnings at drivers/gpu/drm/drm_encoder.c:214. Drop these extra drm_encoder_cleanup() calls

Re: [PATCH] drm/msm/dpu: remove extra drm_encoder_cleanup from the error path

2023-12-11 Thread Dmitry Baryshkov
On Mon, 11 Dec 2023 at 16:54, Dmitry Baryshkov wrote: > > The drmm handler will perform drm_encoder_cleanup() for us. Moreover if > we call drm_encoder_cleanup() manually, the drmm_encoder_alloc_release() > will spawn warnings at drivers/gpu/drm/drm_encoder.c:214. Drop these > extra drm_encoder_cl

[PATCH] drm/msm/dpu: remove extra drm_encoder_cleanup from the error path

2023-12-11 Thread Dmitry Baryshkov
The drmm handler will perform drm_encoder_cleanup() for us. Moreover if we call drm_encoder_cleanup() manually, the drmm_encoder_alloc_release() will spawn warnings at drivers/gpu/drm/drm_encoder.c:214. Drop these extra drm_encoder_cleanup() calls. Fixes: cd42c56d9c0b ("drm/msm/dpu: use drmm-manag