OSDN Git Service

drm/msm/a3xx: remove TPL1 regs from snapshot
authorRob Clark <robdclark@chromium.org>
Mon, 24 Jun 2019 16:09:47 +0000 (09:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:57 +0000 (14:50 +0100)
commit62978761c8c6832e6f9c00d132e3d291357f1b17
treed812114d60b70e2443702d38733251b92c20bf32
parentbcc0fbf141322b98383d25e906b73a9f017bf35c
drm/msm/a3xx: remove TPL1 regs from snapshot

[ Upstream commit f47bee2ba447bebc304111c16ef1e1a73a9744dd ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c