Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/msm
Jordan Crouse 03b7af1ef4 drm/msm/adreno: Call pm_runtime_force_suspend() during unbind
The GPU specific pm_suspend code assumes that the hardware is active
when the function is called, which it usually is when called as part
of pm_runtime.  But during unbind, the pm_suspend functions are called
blindly resulting in a bit of a when the hardware wasn't already
active (or booted, in the case of the GMU).

Instead of calling the pm_suspend function directly, use
pm_runtime_force_suspend() which should check the correct state of
runtime and call the functions on our behalf or skip them if they are
not needed.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2019-06-18 13:52:49 -07:00
..
2019-06-18 11:28:14 -07:00
2019-01-24 13:20:42 +01:00
2018-03-19 06:33:35 -04:00
2018-12-11 13:07:10 -05:00
2018-12-11 13:07:10 -05:00
2014-01-09 14:44:06 -05:00