summaryrefslogtreecommitdiffstats
path: root/src/intel/perf
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-05-24 15:35:34 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:55 -0700
commitae3fac851da07dbfe6647efb5491b0defc3006ac (patch)
tree21d200b6709098d52d4120a0ec38929fbd425724 /src/intel/perf
parenta921b215dd9487aef74bec868e4201232d976992 (diff)
intel/perf: create a vtable entry for batchbuffer_flush
In preparation for calling both Iris and i965 implementions from perf. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/perf')
-rw-r--r--src/intel/perf/gen_perf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h
index 2d092d087ec..7e28e632420 100644
--- a/src/intel/perf/gen_perf.h
+++ b/src/intel/perf/gen_perf.h
@@ -196,6 +196,8 @@ struct gen_perf_config {
void *bo,
uint32_t offset_in_bytes,
uint32_t report_id);
+ void (*batchbuffer_flush)(void *ctx,
+ const char *file, int line);
} vtbl;
};