From 46791d4c52aa63dc4c8561734bc1722ab26c35bb Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 17 Mar 2026 11:53:54 -0700 Subject: [PATCH] freedreno/perfcntr: Remove type and result_type We could generate the rest of the tables, other than these fields. But they are all "UINT64, AVERAGE" (for the non-derived counters), so just drop them. Signed-off-by: Rob Clark Part-of: --- src/freedreno/perfcntrs/freedreno_perfcntr.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/freedreno/perfcntrs/freedreno_perfcntr.h b/src/freedreno/perfcntrs/freedreno_perfcntr.h index 52e13b0f1f6..8458123d569 100644 --- a/src/freedreno/perfcntrs/freedreno_perfcntr.h +++ b/src/freedreno/perfcntrs/freedreno_perfcntr.h @@ -65,10 +65,6 @@ struct fd_perfcntr_countable { const char *name; /* selector register enum value to select this countable: */ unsigned selector; - - /* description of the countable: */ - enum fd_perfcntr_type query_type; - enum fd_perfcntr_result_type result_type; }; /* Describes an entire counter group: */ @@ -95,8 +91,6 @@ const struct fd_perfcntr_group *fd_perfcntrs(const struct fd_dev_id *id, unsigne #define COUNTABLE_BASE(_sel_name, _sel, _query_type, _result_type ) { \ .name = _sel_name, .selector = _sel, \ - .query_type = FD_PERFCNTR_TYPE_##_query_type, \ - .result_type = FD_PERFCNTR_RESULT_TYPE_##_result_type, \ } #define COUNTABLE(_selector, _query_type, _result_type) \