drm/msm/a3xx: remove TPL1 regs from snapshot
authorRob Clark <robdclark@chromium.org>
Mon, 24 Jun 2019 16:09:47 +0000 (09:09 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 24 Jun 2019 16:28:55 +0000 (09:28 -0700)
commitf47bee2ba447bebc304111c16ef1e1a73a9744dd
treefed2c20d64bffaa6dc0909f5e15632341f4ccf0f
parent2aa31767259722d159e07240b0b8482a54223c2a
drm/msm/a3xx: remove TPL1 regs from snapshot

These regs are write-only, and the hw throws a hissy-fit (ie. reboots)
when we try to read them for GPU state snapshot, in response to a GPU
hang.  It is rather impolite when GPU recovery triggers an insta-
reboot, so lets remove the TPL1 registers from the snapshot.

Fixes: 7198e6b03155 drm/msm: add a3xx gpu support
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c