diff options
author | Kristian H. Kristensen <[email protected]> | 2019-12-11 09:33:56 -0800 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-12-11 22:25:47 +0000 |
commit | b6f8c42846503f60e29187934b4b8acff3fb979b (patch) | |
tree | 5438fc2423231f24cdce6778660c789412fb883b /src/freedreno/perfcntrs | |
parent | 9b097768463593962844aa8698b5653d7e93fe61 (diff) |
freedreno/a6xx: Silence warning for unused perf counters
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno/perfcntrs')
-rw-r--r-- | src/freedreno/perfcntrs/fd6_perfcntr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/perfcntrs/fd6_perfcntr.c b/src/freedreno/perfcntrs/fd6_perfcntr.c index 33b7678e56e..fa5ee1232b4 100644 --- a/src/freedreno/perfcntrs/fd6_perfcntr.c +++ b/src/freedreno/perfcntrs/fd6_perfcntr.c @@ -390,7 +390,7 @@ static const struct fd_perfcntr_countable rb_countables[] = { COUNTABLE(PERF_RB_EARLY_Z_SKIP_GRANT, UINT64, AVERAGE), }; -static const struct fd_perfcntr_counter rbbm_counters[] = { +UNUSED static const struct fd_perfcntr_counter rbbm_counters[] = { //RESERVED: for kernel // COUNTER(RBBM_PERFCTR_RBBM_SEL_0, RBBM_PERFCTR_RBBM_0_LO, RBBM_PERFCTR_RBBM_0_HI), COUNTER(RBBM_PERFCTR_RBBM_SEL_1, RBBM_PERFCTR_RBBM_1_LO, RBBM_PERFCTR_RBBM_1_HI), @@ -398,7 +398,7 @@ static const struct fd_perfcntr_counter rbbm_counters[] = { COUNTER(RBBM_PERFCTR_RBBM_SEL_3, RBBM_PERFCTR_RBBM_3_LO, RBBM_PERFCTR_RBBM_3_HI), }; -static const struct fd_perfcntr_countable rbbm_countables[] = { +UNUSED static const struct fd_perfcntr_countable rbbm_countables[] = { COUNTABLE(PERF_RBBM_ALWAYS_COUNT, UINT64, AVERAGE), COUNTABLE(PERF_RBBM_ALWAYS_ON, UINT64, AVERAGE), COUNTABLE(PERF_RBBM_TSE_BUSY, UINT64, AVERAGE), |