summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-01-04 15:50:14 +0300
committerLucas Stach <l.stach@pengutronix.de>2018-02-12 18:30:57 +0300
commit3d9fc6428434e534893b5f3a2c1f86c7660eac11 (patch)
tree64da04948be77e9499fe50e826f06746fe33cf39 /drivers/gpu/drm/etnaviv
parentc09d7f7911aa35570b29674f72077e1342260970 (diff)
downloadlinux-3d9fc6428434e534893b5f3a2c1f86c7660eac11.tar.xz
drm/etnaviv: add missing major features field to debugfs
This can be useful when dealing with a new GPU core. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_gpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
index dfac65585e1d..72c350c70c77 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
@@ -811,6 +811,8 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
verify_dma(gpu, &debug);
seq_puts(m, "\tfeatures\n");
+ seq_printf(m, "\t major_features: 0x%08x\n",
+ gpu->identity.features);
seq_printf(m, "\t minor_features0: 0x%08x\n",
gpu->identity.minor_features0);
seq_printf(m, "\t minor_features1: 0x%08x\n",