Skip to content

drm/msm: handle for EPROBE_DEFER for of_icc_get

Jonathan Marek dri-devel linux-arm-msm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesIn review
  2. v31 patch 0 repliesSuperseded
  3. v21 patch 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/msm: fix unbalanced pm_runtime_enable in adreno_gpu_{init,cleanup}drivers/gpu/drm/msm/adreno/adreno_gpu.c+3 -01 reply
2/3drm/msm: reset devfreq freq_table/max_state before devfreq_add_devicedrivers/gpu/drm/msm/msm_gpu.c+4 -01 reply
3/3drm/msm: handle for EPROBE_DEFER for of_icc_getdrivers/gpu/drm/msm/adreno/adreno_gpu.c+38 -271 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJordan Crouse
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] drm/msm: handle for EPROBE_DEFER for of_icc_get

Check for errors instead of silently not using icc if the msm driver probes before the interconnect driver.

Allow ENODATA for ocmem path, as it is optional and this error is returned when "gfx-mem" path is provided but not "ocmem".

Because msm_gpu_cleanup assumes msm_gpu_init has been called, the icc path init needs to be after msm_gpu_init for the error path to work.

v2: changed to not only check for EPROBE_DEFER
v3: move icc path init after msm_gpu_init to avoid deleting a WARN_ON
v4: added two patches to fix issues with probe deferring later in v3

Jonathan Marek (3):
drm/msm: fix unbalanced pm_runtime_enable in adreno_gpu_{init,cleanup} drm/msm: reset devfreq freq_table/max_state before devfreq_add_device drm/msm: handle for EPROBE_DEFER for of_icc_get

 drivers/gpu/drm/msm/adreno/adreno_gpu.c | 68 +++++++++++++++----------
 drivers/gpu/drm/msm/msm_gpu.c           |  4 ++
 2 files changed, 45 insertions(+), 27 deletions(-)
Signature · 1 line
2.26.1