]> git.baikalelectronics.ru Git - kernel.git/commit
msm/drm/a6xx: Turn off the GMU if resume fails
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 4 Feb 2019 16:15:43 +0000 (09:15 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 19 Apr 2019 18:50:06 +0000 (11:50 -0700)
commit7714cf5d422c4b969650d2778617aab42d8dddb5
tree930743b5365b224d1f3801a99491005283556a74
parent48d628cba00afb8495ae2b9a0751ad049b9e6e85
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>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_device.c