Skip to content

Commit 0008066

Browse files
austriancoderlynxeye-dev
authored andcommitted
drm/etnaviv: show identity information in debugfs
Signed-off-by: Christian Gmeiner <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
1 parent 815e45b commit 0008066

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gpu.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,13 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
860860

861861
verify_dma(gpu, &debug);
862862

863+
seq_puts(m, "\tidentity\n");
864+
seq_printf(m, "\t model: 0x%x\n", gpu->identity.model);
865+
seq_printf(m, "\t revision: 0x%x\n", gpu->identity.revision);
866+
seq_printf(m, "\t product_id: 0x%x\n", gpu->identity.product_id);
867+
seq_printf(m, "\t customer_id: 0x%x\n", gpu->identity.customer_id);
868+
seq_printf(m, "\t eco_id: 0x%x\n", gpu->identity.eco_id);
869+
863870
seq_puts(m, "\tfeatures\n");
864871
seq_printf(m, "\t major_features: 0x%08x\n",
865872
gpu->identity.features);

0 commit comments

Comments
 (0)