summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.h
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-07-03 12:38:16 -0700
committerMark Janes <[email protected]>2019-08-09 19:28:14 -0700
commitaca42759ff8b32798156eb14b6d6d456aae76a59 (patch)
tree577ce7bcb495bbb1052b054987675c71cae0b493 /src/gallium/drivers/iris/iris_context.h
parent0fd4359733e6920d5cac9596eeada753a587a246 (diff)
iris/perf: implement iris_create_monitor_object
This is the first call that provides the iris context to the monitor implementation. On the first call, use the iris context to initialize the monitor context. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r--src/gallium/drivers/iris/iris_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index 158dfe70d71..2ca496d1d03 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -606,6 +606,8 @@ struct iris_context {
bool condition;
} condition;
+ struct gen_perf_context *perf_ctx;
+
struct {
uint64_t dirty;
uint64_t dirty_for_nos[IRIS_NOS_COUNT];