summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/aspeed/Makefile
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-04-19 13:50:01 +0930
committerJoel Stanley <joel@jms.id.au>2019-03-20 15:13:32 +1030
commit17ad2a9dbd8ca8341e9e13aa9d9c0be571aaffed (patch)
tree4c95c360e284a4f083230dcfd74626ca5efc1632 /drivers/gpu/drm/aspeed/Makefile
parent090746323d27aeace402bf3c8f69013802964f33 (diff)
downloadblackbird-obmc-linux-17ad2a9dbd8ca8341e9e13aa9d9c0be571aaffed.tar.gz
blackbird-obmc-linux-17ad2a9dbd8ca8341e9e13aa9d9c0be571aaffed.zip
drm: aspeed: Debugfs interface for GFX registers
This exposes the GFX registers in debugfs for debugging. The idea is borrowed from the Broadcom driver. OpenBMC-Staging-Count: 4 Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/gpu/drm/aspeed/Makefile')
-rw-r--r--drivers/gpu/drm/aspeed/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/aspeed/Makefile b/drivers/gpu/drm/aspeed/Makefile
index 6e194cd790d8..b01dd5800672 100644
--- a/drivers/gpu/drm/aspeed/Makefile
+++ b/drivers/gpu/drm/aspeed/Makefile
@@ -1,3 +1,4 @@
aspeed_gfx-y := aspeed_gfx_drv.o aspeed_gfx_crtc.o aspeed_gfx_out.o
+aspeed_gfx-$(CONFIG_DEBUG_FS) += aspeed_gfx_debugfs.o
obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed_gfx.o
OpenPOWER on IntegriCloud