]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit24df4cfc505d3f258e1d8ec4534a5faa27656eb3
tree4639223e93cdcb027e13e003d27aba0461f8ac0b
parentc3ca2be161097c2a3b273e41d23dcb8413144ed3
drm/msm/a3xx: remove TPL1 regs from snapshot

BugLink: https://bugs.launchpad.net/bugs/1863019
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c