Re: [PATCH 16/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_plane

2023-12-01 Thread Abhinav Kumar
On 7/7/2023 6:04 PM, Dmitry Baryshkov wrote: Change struct mdp4_plane allocation to use drmm_plane_alloc(). This removes the need to perform any actions on plane destruction. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 59 -- 1

[PATCH 16/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_plane

2023-07-07 Thread Dmitry Baryshkov
Change struct mdp4_plane allocation to use drmm_plane_alloc(). This removes the need to perform any actions on plane destruction. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 59 -- 1 file changed, 20 insertions(+), 39 deletions(-) diff