projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba6e798
)
drm/v3d: Fix debugfs reads of MMU regs.
author
Eric Anholt
<eric@anholt.net>
Fri, 19 Apr 2019 00:10:11 +0000
(17:10 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 16 May 2019 16:24:19 +0000
(09:24 -0700)
They're in the hub, not the individual cores.
Signed-off-by: Eric Anholt <eric@anholt.net>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190419001014.23579-1-eric@anholt.net
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
drivers/gpu/drm/v3d/v3d_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/v3d/v3d_debugfs.c
b/drivers/gpu/drm/v3d/v3d_debugfs.c
index a2dc4262955e9dbe091ca1d1c4eaeee713cedc21..356a8acfa72de1c7133ac7d72639561c8dcd058b 100644
(file)
--- a/
drivers/gpu/drm/v3d/v3d_debugfs.c
+++ b/
drivers/gpu/drm/v3d/v3d_debugfs.c
@@
-26,6
+26,10
@@
static const struct v3d_reg_def v3d_hub_reg_defs[] = {
REGDEF(V3D_HUB_IDENT3),
REGDEF(V3D_HUB_INT_STS),
REGDEF(V3D_HUB_INT_MSK_STS),
+
+ REGDEF(V3D_MMU_CTL),
+ REGDEF(V3D_MMU_VIO_ADDR),
+ REGDEF(V3D_MMU_VIO_ID),
};
static const struct v3d_reg_def v3d_gca_reg_defs[] = {
@@
-50,9
+54,6
@@
static const struct v3d_reg_def v3d_core_reg_defs[] = {
REGDEF(V3D_PTB_BPCA),
REGDEF(V3D_PTB_BPCS),
- REGDEF(V3D_MMU_CTL),
- REGDEF(V3D_MMU_VIO_ADDR),
-
REGDEF(V3D_GMP_STATUS),
REGDEF(V3D_GMP_CFG),
REGDEF(V3D_GMP_VIO_ADDR),