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

Jordan Crouse jcrouse at codeaurora.org
Tue May 7 19:18:08 UTC 2019


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(-)

-- 
2.7.4



More information about the Freedreno mailing list