Re: [Freedreno] [PATCH 10/17] drm/msm/mdp5: use drmm-managed allocation for mdp5_plane

2023-12-01 Thread Abhinav Kumar
On 7/7/2023 6:04 PM, Dmitry Baryshkov wrote: Change struct mdp5_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/mdp5/mdp5_plane.c | 40 -- 1 file

[Freedreno] [PATCH 10/17] drm/msm/mdp5: use drmm-managed allocation for mdp5_plane

2023-07-07 Thread Dmitry Baryshkov
Change struct mdp5_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/mdp5/mdp5_plane.c | 40 -- 1 file changed, 6 insertions(+), 34 deletions(-) diff --g