diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2023-02-01 16:27:47 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2023-02-02 18:44:39 +0100 |
commit | 4eaa23f7153d8684f66e6cf6ffbabeb14617f192 (patch) | |
tree | 8b8ae9d54e4909255e90c7afb6197ebb31edfd8e | |
parent | 9b90ba958e5f23a671c1d2b850d6fb284bf7a78f (diff) | |
download | linux-4eaa23f7153d8684f66e6cf6ffbabeb14617f192.tar.gz linux-4eaa23f7153d8684f66e6cf6ffbabeb14617f192.tar.xz |
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 <l.stach@pengutronix.de>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 2 |
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 27c10584773d..de8c9894967c 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", |