From: Rob Clark Date: Wed, 20 Nov 2019 00:35:58 +0000 (-0800) Subject: freedreno/perfctrs/a2xx: move CP to be first group X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a517b3079b1e9bc17a60f5720c1a50ac8bab84b;p=mesa.git freedreno/perfctrs/a2xx: move CP to be first group fdperf expects this, to find the ALWAYS_COUNT counter Signed-off-by: Rob Clark Reviewed-by: Kristian H. Kristensen --- diff --git a/src/freedreno/perfcntrs/fd2_perfcntr.c b/src/freedreno/perfcntrs/fd2_perfcntr.c index 06246f398eb..17ffb5e2c85 100644 --- a/src/freedreno/perfcntrs/fd2_perfcntr.c +++ b/src/freedreno/perfcntrs/fd2_perfcntr.c @@ -776,6 +776,7 @@ static const struct fd_perfcntr_counter rb_counters[] = { }; const struct fd_perfcntr_group a2xx_perfcntr_groups[] = { + GROUP("CP", cp_counters, cp_countables), GROUP("PA_SU", pa_su_counters, pa_su_countables), GROUP("PA_SC", pa_sc_counters, pa_sc_countables), GROUP("VGT", vgt_counters, vgt_countables), @@ -787,7 +788,6 @@ const struct fd_perfcntr_group a2xx_perfcntr_groups[] = { GROUP("SX", sx_counters, sx_countables), // GROUP("MH", mh_counters, mh_countables), GROUP("RBBM", rbbm_counters, rbbm_countables), - GROUP("CP", cp_counters, cp_countables), GROUP("RB", rb_counters, rb_countables), };