]> git.baikalelectronics.ru Git - kernel.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)
commitb6dbe630bb1241623cfb6a4fe8f9be35a6945059
treedb66ed60eff8756f986f676f7a61f88a59973651
parentb6d33a1cb4dbbb23d853f85275db9b03196f6e69
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