freedreno/perfctrs/a2xx: move CP to be first group
authorRob Clark <robdclark@chromium.org>
Wed, 20 Nov 2019 00:35:58 +0000 (16:35 -0800)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Nov 2019 20:01:03 +0000 (20:01 +0000)
fdperf expects this, to find the ALWAYS_COUNT counter

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/perfcntrs/fd2_perfcntr.c

index 06246f398ebf47d639dbf55c29afa33d221ab38e..17ffb5e2c85078be1059affdd92c7b58405d507e 100644 (file)
@@ -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),
 };