]> asedeno.scripts.mit.edu Git - linux.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)
commit9cc68ee1d92e3ab5bd5c821e5c1f387b0e16a669
treeaa5c1f6023eef96f856293a0eb0b17da5d162fa6
parent1636295a9f6931e8524c416ae333cd9ff7ef4661
drm/msm: Fix a6xx GMU shutdown sequence

Commit e812744c5f95 ("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: e812744c5f95 ("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