summaryrefslogtreecommitdiffstats
path: root/src/intel/perf/gen_perf.h
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-06-26 11:38:38 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:55 -0700
commitf57c8a6dc110e7701233f159ce166c63ea75ff5f (patch)
tree8e0ac72b3cd87551b6d4688ea94e2f76e5118980 /src/intel/perf/gen_perf.h
parent52f7a0bff7d4065de1ce4b91a767555dee811751 (diff)
intel/perf: create a vtable entry for emit_mi_flush
This method is needed to move subsequent methods into perf. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/perf/gen_perf.h')
-rw-r--r--src/intel/perf/gen_perf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h
index 3606748c424..6e69278ccdf 100644
--- a/src/intel/perf/gen_perf.h
+++ b/src/intel/perf/gen_perf.h
@@ -217,6 +217,7 @@ struct gen_perf_config {
struct {
void *(*bo_alloc)(void *bufmgr, const char *name, uint64_t size);
void (*bo_unreference)(void *bo);
+ void (*emit_mi_flush)(void *ctx);
void (*emit_mi_report_perf_count)(void *ctx,
void *bo,
uint32_t offset_in_bytes,