summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/pl111
diff options
context:
space:
mode:
authorLinus Walleij2017-09-08 14:47:04 +0200
committerLinus Walleij2017-09-10 23:57:57 +0200
commitbcaf9ff425cc2dc9a16373f9d9e36354e2f09a52 (patch)
tree2afd042819637d5f0cc6119fb05ad9acbc6e615e /drivers/gpu/drm/pl111
parentdrm/pl111: Cleanup local header file (diff)
downloadkernel-qcow2-linux-bcaf9ff425cc2dc9a16373f9d9e36354e2f09a52.tar.gz
kernel-qcow2-linux-bcaf9ff425cc2dc9a16373f9d9e36354e2f09a52.tar.xz
kernel-qcow2-linux-bcaf9ff425cc2dc9a16373f9d9e36354e2f09a52.zip
drm/pl111: Add all registers to debugfs
This adds all the main control registers to the debugfs register file. This was helpful for my debugging so it will likely help others as well. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170908124709.4758-2-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/pl111')
-rw-r--r--drivers/gpu/drm/pl111/pl111_debugfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/pl111/pl111_debugfs.c b/drivers/gpu/drm/pl111/pl111_debugfs.c
index 0d9dee199b2c..7ddc7e3b9e7d 100644
--- a/drivers/gpu/drm/pl111/pl111_debugfs.c
+++ b/drivers/gpu/drm/pl111/pl111_debugfs.c
@@ -22,8 +22,14 @@ static const struct {
REGDEF(CLCD_TIM2),
REGDEF(CLCD_TIM3),
REGDEF(CLCD_UBAS),
+ REGDEF(CLCD_LBAS),
REGDEF(CLCD_PL111_CNTL),
REGDEF(CLCD_PL111_IENB),
+ REGDEF(CLCD_PL111_RIS),
+ REGDEF(CLCD_PL111_MIS),
+ REGDEF(CLCD_PL111_ICR),
+ REGDEF(CLCD_PL111_UCUR),
+ REGDEF(CLCD_PL111_LCUR),
};
int pl111_debugfs_regs(struct seq_file *m, void *unused)