mbox series

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

Message ID 1557256691-25798-1-git-send-email-jcrouse@codeaurora.org (mailing list archive)
Headers show
Series drm/msm: Handle component bind failures a bit better | expand

Message

Jordan Crouse May 7, 2019, 7:18 p.m. UTC
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(-)