[PATCH 09/17] drm/msm/mdp5: use drmm-managed allocation for mdp5_encoder

Abhinav Kumar quic_abhinavk at quicinc.com
Fri Dec 1 23:15:33 UTC 2023



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

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


More information about the dri-devel mailing list