summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/pl111/Makefile
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-05-17 17:56:40 -0700
committerEric Anholt <eric@anholt.net>2017-05-19 11:13:57 -0700
commit141518d23493d47bbc5acd1e2892a6ca3f638cf9 (patch)
treedb66ed60eff8756f986f676f7a61f88a59973651 /drivers/gpu/drm/pl111/Makefile
parent3719a5adbb620f09d386db49629f424be284af6a (diff)
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)
Diffstat (limited to 'drivers/gpu/drm/pl111/Makefile')
-rw-r--r--drivers/gpu/drm/pl111/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/pl111/Makefile b/drivers/gpu/drm/pl111/Makefile
index 01caee727c13..59483d610ef5 100644
--- a/drivers/gpu/drm/pl111/Makefile
+++ b/drivers/gpu/drm/pl111/Makefile
@@ -2,4 +2,6 @@ pl111_drm-y += pl111_connector.o \
pl111_display.o \
pl111_drv.o
+pl111_drm-$(CONFIG_DEBUG_FS) += pl111_debugfs.o
+
obj-$(CONFIG_DRM_PL111) += pl111_drm.o