summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-04-19 10:14:09 -0400
committerRob Clark <robdclark@gmail.com>2015-06-11 13:11:00 -0400
commit26716185516fc09723833d64f2af87db4e3eae7a (patch)
tree15b02bdd9e22e12720ff7067956680c527dab89e /scripts/cleanpatch
parent3f05eb4e3fc56df678f83925ced78bc97166b052 (diff)
drm/msm/adreno: dump scratch regs and other info on hang
Dump a bit more info when the GPU hangs, without having hang_debug enabled (which dumps a *lot* of registers). Also dump the scratch registers, as they are useful for determining where in the cmdstream the GPU hung (and they seem always safe to read when GPU has hung). Note that the freedreno gallium driver emits increasing counter values to SCRATCH6 (to identify tile #) and SCRATCH7 (to identify draw #), so these two in particular can be used to "triangulate" where in the cmdstream the GPU hung. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions