drm/msm/a6xx: Remove unneeded GBIF unhalt
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 4 Feb 2020 17:42:28 +0000 (10:42 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 11 Feb 2020 15:40:25 +0000 (07:40 -0800)
commit56d977d5610bc6a83cf5f2d69cec91f3a2b91f77
treee5b9b5a0a0fb3d83a146eed4229a026aaef1291a
parent7fd2dfc3694922eb7ace4801b7208cf9f62ebc7d
drm/msm/a6xx: Remove unneeded GBIF unhalt

Commit e812744c5f95 ("drm: msm: a6xx: Add support for A618") added a
universal GBIF un-halt into a6xx_start(). This can cause problems for
a630 targets which do not use GBIF and might have access protection
enabled on the region now occupied by the GBIF registers.

But it turns out that we didn't need to unhalt the GBIF in this path
since the stop function already takes care of that after executing a flush
but before turning off the headswitch. We should be confident that the
GBIF is open for business when we restart the hardware.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Fixes: e812744c5f95 ("drm: msm: a6xx: Add support for A618")
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c