From b6f8c42846503f60e29187934b4b8acff3fb979b Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Wed, 11 Dec 2019 09:33:56 -0800 Subject: freedreno/a6xx: Silence warning for unused perf counters Reviewed-by: Eric Anholt Reviewed-by: Rob Clark Signed-off-by: Kristian H. Kristensen --- src/freedreno/perfcntrs/fd6_perfcntr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/freedreno') 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), -- cgit v1.2.3