Re: [Freedreno] [PATCH v2 09/13] drm/msm/dpu: use drmm-managed allocation for dpu_plane

2023-07-28 Thread Jessica Zhang
On 7/7/2023 4:12 PM, Dmitry Baryshkov wrote: Change struct dpu_plane allocation to use drmm_universal_plane_alloc(). This removes the need to perform any actions on plane destruction. Signed-off-by: Dmitry Baryshkov Reviewed-by: Jessica Zhang ---

[Freedreno] [PATCH v2 09/13] drm/msm/dpu: use drmm-managed allocation for dpu_plane

2023-07-07 Thread Dmitry Baryshkov
Change struct dpu_plane allocation to use drmm_universal_plane_alloc(). This removes the need to perform any actions on plane destruction. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 46 +-- 1 file changed, 10 insertions(+), 36