intel/perf: use common ioctl wrapper
authorMark Janes <mark.a.janes@intel.com>
Mon, 5 Aug 2019 21:40:29 +0000 (14:40 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 8 Aug 2019 04:33:55 +0000 (21:33 -0700)
commitea66484e8604edf75df9f95c9e94b73f1e80639d
tree1a1cfe3002258bbf806a76a351fc381885cf9f20
parent07d3bd5c46f98df977e9f305d527e3b3a18ea850
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 <kenneth@whitecape.org>
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h
src/mesa/drivers/dri/i965/brw_performance_query.c