]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80b509aeb5eaf91ac8a6dc8d44243e7839dacc68
treefed2c20d64bffaa6dc0909f5e15632341f4ccf0f
parent6f7989b53ad2d67e71e053213c54c92841bb8217
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: 1f08fd900081 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