From a330d759c5b6c1b207933c0037e9ac52fabebdc8 Mon Sep 17 00:00:00 2001 From: Mark Janes Date: Wed, 26 Jun 2019 12:12:20 -0700 Subject: intel/perf: move client reference counts into perf Reviewed-by: Kenneth Graunke --- src/intel/perf/gen_perf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/intel/perf/gen_perf.h') diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h index 6aef2356015..fe6551da76c 100644 --- a/src/intel/perf/gen_perf.h +++ b/src/intel/perf/gen_perf.h @@ -597,4 +597,7 @@ bool gen_perf_open(struct gen_perf_context *perfquery, int drm_fd, uint32_t ctx_id); +bool gen_perf_inc_n_users(struct gen_perf_context *perfquery); +void gen_perf_dec_n_users(struct gen_perf_context *perfquery); + #endif /* GEN_PERF_H */ -- cgit v1.2.3