summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <cgmeiner@igalia.com>2024-08-21 09:48:42 +0200
committerMarge Bot <emma+marge@anholt.net>2024-08-30 12:45:58 +0000
commitf34bf161140e819cd7a22aa27708a04f516d27f6 (patch)
treea16aa756b5426b77fd18c8833ffe5a855390931a
parent92a6f697d589c926edf712ca40a7742ce7d187d7 (diff)
etnaviv: npu: Drop not used spec values
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30806>
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_internal.h4
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h b/src/gallium/drivers/etnaviv/etnaviv_internal.h
index 1f585fd7cf0..96c98f51341 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_internal.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h
@@ -133,10 +133,6 @@ struct etna_specs {
unsigned num_constants;
/* architecture version of NN cores */
unsigned nn_core_version;
- /* number of MAD units per NN core */
- unsigned nn_mad_per_core;
- /* Size of SRAM behind AXI */
- unsigned axi_sram_size;
};
/* Compiled Gallium state. All the different compiled state atoms are woven
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index 8e09c9dc8e4..3a407c9c5aa 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
@@ -863,9 +863,6 @@ etna_get_specs(struct etna_screen *screen)
}
if (info->type == ETNA_CORE_NPU) {
- screen->specs.nn_mad_per_core = info->npu.nn_mad_per_core;
- screen->specs.axi_sram_size = info->npu.axi_sram_size;
-
if (etna_core_has_feature(info, ETNA_FEATURE_NN_XYDP0))
screen->specs.nn_core_version = 8;
else if (etna_core_has_feature(info, ETNA_FEATURE_VIP_V7))