Skip to content

drm/msm: Handle component bind failures a bit better

Jordan Crouse dri-devel linux-arm-msm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/msm/dpu: Fix error recovery after failing to enable clocksdrivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c+3 -30 replies
2/3drm/msm/dpu: Avoid a null de-ref while recovering from kms init faildrivers/gpu/drm/msm/disp/dpu1/dpu_kms.c+6 -31 reply
3/3drm/msm/adreno: Call pm_runtime_force_suspend() during unbinddrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/adreno_device.c+2 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchKristian H. Kristensen
1/3
2/3R-b
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] drm/msm: Handle component bind failures a bit better

I somewhat accidently injected an error in the DPU KMS init that caused it to fail and a handful of NULL deferences and errors ended up popping out. Here are some fixes in the interest of robustness.

Jordan Crouse (3):
drm/msm/dpu: Fix error recovery after failing to enable clocks drm/msm/dpu: Avoid a null de-ref while recovering from kms init fail drm/msm/adreno: Call pm_runtime_force_suspend() during unbind

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c       | 4 +---
 drivers/gpu/drm/msm/adreno/adreno_device.c  | 2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c | 6 +++---
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c     | 9 ++++++---
 4 files changed, 11 insertions(+), 10 deletions(-)
Signature · 1 line
2.7.4