Re: [PATCH v2 10/13] drm/msm/dpu: use drmm-managed allocation for dpu_crtc

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

[PATCH v2 10/13] drm/msm/dpu: use drmm-managed allocation for dpu_crtc

2023-07-07 Thread Dmitry Baryshkov
Change struct dpu_crtc allocation to use drmm_crtc_alloc_with_planes(). This removes the need to perform any actions on CRTC destruction. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 25 +++- 1 file changed, 7 insertions(+), 18 deletions(-)