]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Fix a6xx GMU shutdown sequence
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 5 Feb 2020 20:48:17 +0000 (13:48 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Feb 2020 15:41:18 +0000 (07:41 -0800)
commit51dc316f14c8a7eb67c88af98f5ab085e99fd1ac
treeaa5c1f6023eef96f856293a0eb0b17da5d162fa6
parentaad4d2bb6ec7bb008a7a5678cca6987224305f96
drm/msm: Fix a6xx GMU shutdown sequence

Commit cab6f510fba9 ("drm: msm: a6xx: Add support for A618") missed
updating the VBIF flush in a6xx_gmu_shutdown and instead
inserted the new sequence into a6xx_pm_suspend along with a redundant
GMU idle.

Move a6xx_bus_clear_pending_transactions to a6xx_gmu.c and use it in
the appropriate place in the shutdown routine and remove the redundant
idle call.

v2: Remove newly unused variable that was triggering a warning

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Fixes: cab6f510fba9 ("drm: msm: a6xx: Add support for A618")
Tested-by: Douglas Anderson <dianders@chromium.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