Skip to content

Commit 4c22c61

Browse files
committed
drm/etnaviv: show number of NN cores in GPU debugfs info
For NPUs the number of NN cores is a interesting property, which is useful to show in the debugfs information. Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]>
1 parent 97804a1 commit 4c22c61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,8 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
961961
gpu->identity.vertex_cache_size);
962962
seq_printf(m, "\t shader_core_count: %d\n",
963963
gpu->identity.shader_core_count);
964+
seq_printf(m, "\t nn_core_count: %d\n",
965+
gpu->identity.nn_core_count);
964966
seq_printf(m, "\t pixel_pipes: %d\n",
965967
gpu->identity.pixel_pipes);
966968
seq_printf(m, "\t vertex_output_buffer_size: %d\n",

0 commit comments

Comments
 (0)