From: Lucas Stach Date: Wed, 1 Feb 2023 15:27:47 +0000 (+0100) Subject: drm/etnaviv: show number of NN cores in GPU debugfs info X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4c22c61e429f004d84eba72d7195bccef33ea0ec;p=linux.git 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 Reviewed-by: Tomeu Vizoso --- diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c index 27c10584773d7..de8c9894967c0 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c @@ -961,6 +961,8 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m) gpu->identity.vertex_cache_size); seq_printf(m, "\t shader_core_count: %d\n", gpu->identity.shader_core_count); + seq_printf(m, "\t nn_core_count: %d\n", + gpu->identity.nn_core_count); seq_printf(m, "\t pixel_pipes: %d\n", gpu->identity.pixel_pipes); seq_printf(m, "\t vertex_output_buffer_size: %d\n",