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>
Wed, 29 Jan 2020 09:21:45 +0000 (10:21 +0100)
commiteddade2cae78d54e9f1a3d026bae39af02182941
tree356bee71c8418f9d5ca9228ad805ed854f65bda8
parent0d0561ace22099ca30d72fbadfa5d0c2fe8fd157
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