diff options
author | Mark Janes <[email protected]> | 2019-08-02 16:33:25 -0700 |
---|---|---|
committer | Mark Janes <[email protected]> | 2019-08-07 21:33:55 -0700 |
commit | a921b215dd9487aef74bec868e4201232d976992 (patch) | |
tree | c3fd8574e97b9f813fe0032ff124d43f4f0cdc44 /src/intel/perf | |
parent | 9a2a2e8bea72e4f23dfd09a5eb261e4a4eacb1f2 (diff) |
intel/perf: create a vtable entry for emit_report_count
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h index 2e50345c1db..2d092d087ec 100644 --- a/src/intel/perf/gen_perf.h +++ b/src/intel/perf/gen_perf.h @@ -192,6 +192,10 @@ struct gen_perf_config { struct { void *(*bo_alloc)(void *bufmgr, const char *name, uint64_t size); void (*bo_unreference)(void *bo); + void (*emit_mi_report_perf_count)(void *ctx, + void *bo, + uint32_t offset_in_bytes, + uint32_t report_id); } vtbl; }; |