drm/v3d: Dump V3D error debug registers in debugfs, and one at reset.
authorEric Anholt <eric@anholt.net>
Fri, 19 Apr 2019 00:10:13 +0000 (17:10 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 16 May 2019 16:24:43 +0000 (09:24 -0700)
commit1ba9d7cbc4530ae35eb1ebbd3c5e59d0c587aefa
tree7892fa790b8101fabc2331414fceb742aea6f5c7
parent091d62831793c3a1be6ae46aa888e7551e0818ad
drm/v3d: Dump V3D error debug registers in debugfs, and one at reset.

Looking at a hang recently, I noticed these registers that might tell
me if something obvious was wrong.  They didn't help in this case, but
keep it around for the future.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419001014.23579-3-eric@anholt.net
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
drivers/gpu/drm/v3d/v3d_debugfs.c
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/v3d/v3d_regs.h