aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-02-07 18:09:58 +0000
committerLionel Landwerlin <[email protected]>2018-03-08 23:05:21 +0000
commitb71da26496cad8179fce93e5b114bef2cddce987 (patch)
tree752d36828c3f573d2e3d7212f33a2567c92627c0 /src/mesa/drivers/dri/i965/brw_context.h
parent5742b17da1f067aad592176e787abcb0bbfb0ebe (diff)
i965: perf: store sysfs device entry into context
We want to reuse it later on. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index d6e3c7807f7..d3e7c71207b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1189,6 +1189,9 @@ struct brw_context
*/
struct hash_table *oa_metrics_table;
+ /* Location of the device's sysfs entry. */
+ char sysfs_dev_dir[256];
+
struct brw_perf_query_info *queries;
int n_queries;