[PATCH v1 0/4] drm/msm: move resource allocation to the _probe function

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Mon Jun 20 21:30:50 UTC 2022


As discussed several times on IRC, move display subdriver resource
allocation from kms_init to probe time to let it bail early.

The first patch fixes an issue with drvdata and is probably a -fixes
material, but it is still included as a base for the rest of mdp5
changes.

Dmitry Baryshkov (4):
  drm/msm/mdp5: stop overriding drvdata
  drm/msm/dpu: move resource allocation to the _probe function
  drm/msm/mdp4: move resource allocation to the _probe function
  drm/msm/mdp5: move resource allocation to the _probe function

 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c  |  62 ++++++------
 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 107 ++++++++++-----------
 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 116 +++++++++++------------
 3 files changed, 137 insertions(+), 148 deletions(-)

-- 
2.35.1



More information about the dri-devel mailing list