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