summaryrefslogtreecommitdiffstats
path: root/src/intel/perf/gen_perf.h
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-06-28 15:55:37 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:56 -0700
commit3c8ed58486744b7e83058b867b1e66e56431a224 (patch)
tree2a29d2a144e0a334f14e57c21b336c8d9e68991e /src/intel/perf/gen_perf.h
parent6fed7563888920ee44af798f232863fae01a6fd1 (diff)
intel/perf: create a vtable entry for bo_busy
Iris and i965 variants of this method need to be called by perf routines. 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 066a2a4ba21..53608f917da 100644
--- a/src/intel/perf/gen_perf.h
+++ b/src/intel/perf/gen_perf.h
@@ -221,6 +221,7 @@ struct gen_perf_config {
void (*bo_unmap)(void *bo);
bool (*batch_references)(void *batch, void *bo);
void (*bo_wait_rendering)(void *bo);
+ int (*bo_busy)(void *bo);
void (*emit_mi_flush)(void *ctx);
void (*emit_mi_report_perf_count)(void *ctx,
void *bo,