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

Abhinav Kumar quic_abhinavk at quicinc.com
Sat Dec 2 01:17:51 UTC 2023



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

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


More information about the Freedreno mailing list