[Freedreno] [PATCH 04/17] drm/msm/mdp5: use devres-managed allocation for mixer data
Abhinav Kumar
quic_abhinavk at quicinc.com
Fri Dec 1 22:19:52 UTC 2023
On 7/7/2023 6:03 PM, Dmitry Baryshkov wrote:
> Use devm_kzalloc to create mixer data structure. This allows us
> to remove corresponding kfree and drop mdp5_mixer_destroy() function.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 5 +----
> drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c | 10 +++-------
> drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.h | 4 ++--
> 3 files changed, 6 insertions(+), 13 deletions(-)
>
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
More information about the Freedreno
mailing list