msm/drm/a6xx: Turn off the GMU if resume fails
Currently if the GMU resume function fails all we try to do is clear the BOOT_SLUMBER oob which usually times out and ends up in a cycle of death. If the resume function fails at any point remove any RPMh votes that might have been added and try to shut down the GMU hardware cleanly. Signed-off-by:Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by:
Rob Clark <robdclark@chromium.org>
Showing
- drivers/gpu/drm/msm/adreno/a6xx_gmu.c 52 additions, 30 deletionsdrivers/gpu/drm/msm/adreno/a6xx_gmu.c
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c 5 additions, 15 deletionsdrivers/gpu/drm/msm/adreno/a6xx_gpu.c
- drivers/gpu/drm/msm/adreno/adreno_device.c 1 addition, 0 deletionsdrivers/gpu/drm/msm/adreno/adreno_device.c
Loading
Please register or sign in to comment