[Freedreno] [PATCH 12/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_crtc

Abhinav Kumar quic_abhinavk at quicinc.com
Sat Dec 2 00:49:15 UTC 2023



On 7/7/2023 6:04 PM, Dmitry Baryshkov wrote:
> Change struct mdp4_crtc allocation to use drmm_crtc_alloc(). This
> removes the need to perform any actions on CRTC destruction.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>   drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 33 ++++++++++++-----------
>   1 file changed, 17 insertions(+), 16 deletions(-)
> 

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>


More information about the Freedreno mailing list