]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd714046e17cfc267af0003514ad59b381e21a581
tree7892fa790b8101fabc2331414fceb742aea6f5c7
parent46342e86490b2fd912badc784b73b8f38219f435
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