On Sat, 08 Jul 2023 04:03:50 +0300, Dmitry Baryshkov wrote: > Follow the DPU patchset ([1]) and use devm_ and drmm_ functions to > allocate long-living data structures in mdp4 and mdp5 drivers. > > [1] https://patchwork.freedesktop.org/series/120366/ > > Dmitry Baryshkov (17): > drm/msm: add arrays listing formats supported by MDP4/MDP5 hardware > drm/msm/mdp5: use devres-managed allocation for configuration data > drm/msm/mdp5: use devres-managed allocation for CTL manager data > drm/msm/mdp5: use devres-managed allocation for mixer data > drm/msm/mdp5: use devres-managed allocation for pipe data > drm/msm/mdp5: use devres-managed allocation for SMP data > drm/msm/mdp5: use devres-managed allocation for INTF data > drm/msm/mdp5: use drmm-managed allocation for mdp5_crtc > drm/msm/mdp5: use drmm-managed allocation for mdp5_encoder > drm/msm/mdp5: use drmm-managed allocation for mdp5_plane > drm/msm/mdp4: use bulk regulators API for LCDC encoder > drm/msm/mdp4: use drmm-managed allocation for mdp4_crtc > drm/msm/mdp4: use drmm-managed allocation for mdp4_dsi_encoder > drm/msm/mdp4: use drmm-managed allocation for mdp4_dtv_encoder > drm/msm/mdp4: use drmm-managed allocation for mdp4_lcdc_encoder > drm/msm/mdp4: use drmm-managed allocation for mdp4_plane > drm/msm: drop mdp_get_formats() > > [...] Applied, thanks! [02/17] drm/msm/mdp5: use devres-managed allocation for configuration data https://gitlab.freedesktop.org/lumag/msm/-/commit/062aeadeba1d [03/17] drm/msm/mdp5: use devres-managed allocation for CTL manager data https://gitlab.freedesktop.org/lumag/msm/-/commit/4c1f4c1f1b43 [04/17] drm/msm/mdp5: use devres-managed allocation for mixer data https://gitlab.freedesktop.org/lumag/msm/-/commit/1ad175c2c884 [05/17] drm/msm/mdp5: use devres-managed allocation for pipe data https://gitlab.freedesktop.org/lumag/msm/-/commit/323e9a18d6e1 [06/17] drm/msm/mdp5: use devres-managed allocation for SMP data https://gitlab.freedesktop.org/lumag/msm/-/commit/531d5313d934 [07/17] drm/msm/mdp5: use devres-managed allocation for INTF data https://gitlab.freedesktop.org/lumag/msm/-/commit/6de8288bf668 [08/17] drm/msm/mdp5: use drmm-managed allocation for mdp5_crtc https://gitlab.freedesktop.org/lumag/msm/-/commit/6f235e3d6b18 [09/17] drm/msm/mdp5: use drmm-managed allocation for mdp5_encoder https://gitlab.freedesktop.org/lumag/msm/-/commit/669afee4a17e [11/17] drm/msm/mdp4: use bulk regulators API for LCDC encoder https://gitlab.freedesktop.org/lumag/msm/-/commit/54f1fbcb47d4 [12/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_crtc https://gitlab.freedesktop.org/lumag/msm/-/commit/783ad6e6312f [13/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_dsi_encoder https://gitlab.freedesktop.org/lumag/msm/-/commit/e79571e8708b [14/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_dtv_encoder https://gitlab.freedesktop.org/lumag/msm/-/commit/93d6e1b82b93 [15/17] drm/msm/mdp4: use drmm-managed allocation for mdp4_lcdc_encoder https://gitlab.freedesktop.org/lumag/msm/-/commit/2c24668cc068 Best regards, -- Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>