Skip to content

drm/msm: Improved a6xx GMU reset

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/msm/a6xx: Remove unwanted regulator codedrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h+0 -60 replies
2/6dt-bindings: drm/msm/a6xx: Add GX power-domain for GMU bindingsDocumentation/devicetree/bindings/display/msm/gmu.txt+8 -23 replies
3/6drm/msm/gpu: Attach to the GPU GX power domaindrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h+42 -10 replies
4/6drm/msm/a6xx: Make GMU reset usefuldrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gmu.h drivers/gpu/drm/msm/adreno/a6xx_gpu.c +1 more+55 -630 replies
5/6msm/drm/a6xx: Turn off the GMU if resume failsdrivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/gpu/drm/msm/adreno/a6xx_gpu.c drivers/gpu/drm/msm/adreno/adreno_device.c+58 -450 replies
6/6drm/msm/a6xx: Remove an unused struct memberdrivers/gpu/drm/msm/adreno/a6xx_gmu.h+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] drm/msm: Improved a6xx GMU reset

This is a stack of changes for 5.1 (if I'm not already too late). The bulk of the changes implement a better GMU reset sequence using the new gpucc power domain added in 5.0. If a GMU fault occurs during runtime we try to do a standard GPU recovery and if the fault happens during GMU start then try to fail somewhat gracefully than BUG_ON.

There will be a DT change to go along with this, but we can send that along after the core code is merged. The downside for not having the domain properly listed is that the runtime reset sequence probably won't work which is no worse than it is today.

Jordan Crouse (6):
drm/msm/a6xx: Remove unwanted regulator code
dt-bindings: drm/msm/a6xx: Add GX power-domain for GMU bindings drm/msm/gpu: Attach to the GPU GX power domain drm/msm/a6xx: Make GMU reset useful
msm/drm/a6xx: Turn off the GMU if resume fails drm/msm/a6xx: Remove an unused struct member

 .../devicetree/bindings/display/msm/gmu.txt        |  10 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c              | 200 +++++++++++++--------
 drivers/gpu/drm/msm/adreno/a6xx_gmu.h              |   9 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c              |  20 +--
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h              |   3 +-
 drivers/gpu/drm/msm/adreno/adreno_device.c         |   1 +
 6 files changed, 144 insertions(+), 99 deletions(-)
Signature · 1 line
2.7.4