summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-08-05 14:40:29 -0700
committerMark Janes <[email protected]>2019-08-07 21:33:55 -0700
commitea66484e8604edf75df9f95c9e94b73f1e80639d (patch)
tree1a1cfe3002258bbf806a76a351fc381885cf9f20 /src/mesa/drivers
parent07d3bd5c46f98df977e9f305d527e3b3a18ea850 (diff)
intel/perf: use common ioctl wrapper
There were multiple ioctl-wrapper functions, so a common implementation was put in gen_gem.h. With a common implementation, perf no longer needs the caller to configure one for it. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c b/src/mesa/drivers/dri/i965/brw_performance_query.c
index eb2830a21f9..5a3794a113e 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/src/mesa/drivers/dri/i965/brw_performance_query.c
@@ -1733,7 +1733,7 @@ brw_init_perf_query_info(struct gl_context *ctx)
if (brw->perfquery.perf)
return brw->perfquery.perf->n_queries;
- brw->perfquery.perf = gen_perf_new(brw, drmIoctl);
+ brw->perfquery.perf = gen_perf_new(brw);
init_pipeline_statistic_query_registers(brw);
brw_perf_query_register_mdapi_statistic_query(brw);