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 <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40522>
This commit is contained in:
Rob Clark 2026-03-17 11:53:54 -07:00 committed by Marge Bot
parent 71e76f3637
commit 46791d4c52

View file

@ -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) \