]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/pl111: Add a debugfs node to dump our registers.
authorEric Anholt <eric@anholt.net>
Thu, 18 May 2017 00:56:40 +0000 (17:56 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 May 2017 18:13:57 +0000 (11:13 -0700)
commit141518d23493d47bbc5acd1e2892a6ca3f638cf9
treedb66ed60eff8756f986f676f7a61f88a59973651
parent3719a5adbb620f09d386db49629f424be284af6a
drm/pl111: Add a debugfs node to dump our registers.

While debugging an X11 display failure, I wanted to see where we were
actually scanning out from.  This is probably generally useful to
others that might be working on this device.

v2: Fix uint32_t sparse warning.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170518005640.10310-1-eric@anholt.net
Reviewed-by: Linus Walleij <linus.walleij@linaro.org> (v1)
drivers/gpu/drm/pl111/Makefile
drivers/gpu/drm/pl111/pl111_debugfs.c [new file with mode: 0644]
drivers/gpu/drm/pl111/pl111_drm.h
drivers/gpu/drm/pl111/pl111_drv.c