aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/perf/gen_perf.h
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-06-28 16:12:44 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:56 -0700
commita9be292722abb2d1a3aa400d0060633f4a2a6f5d (patch)
treee7a1989bb3bd53e52b63d3b2a396f0b14893166d /src/intel/perf/gen_perf.h
parent3c8ed58486744b7e83058b867b1e66e56431a224 (diff)
intel/perf: move wait_query to perf
The following methods have duplicate implementation of read_oa_samples_until in brw_performance_query.c: - read_oa_samples_for_query - read_oa_samples_until They ar still referenced by other methods in the file and will be removed on the subsequent commit. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/perf/gen_perf.h')
-rw-r--r--src/intel/perf/gen_perf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h
index 53608f917da..597fb1028ea 100644
--- a/src/intel/perf/gen_perf.h
+++ b/src/intel/perf/gen_perf.h
@@ -624,5 +624,8 @@ bool gen_perf_begin_query(struct gen_perf_context *perf_ctx,
struct gen_perf_query_object *query);
void gen_perf_end_query(struct gen_perf_context *perf_ctx,
struct gen_perf_query_object *query);
+void gen_perf_wait_query(struct gen_perf_context *perf_ctx,
+ struct gen_perf_query_object *query,
+ void *current_batch);
#endif /* GEN_PERF_H */