intel/perf: move the perf context into perf
authorMark Janes <mark.a.janes@intel.com>
Fri, 31 May 2019 01:20:27 +0000 (18:20 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 8 Aug 2019 04:33:55 +0000 (21:33 -0700)
commite08a69b7f4dcc817b8816aa38d428c66110da781
treef5ca84bd95415f93effdbcffe9e27dfdea8fffff
parentfb622054f7065d0a92547f20dba404e3e5aec38d
intel/perf: move the perf context into perf

The "context" that is necessary to submit and process perf commands to
the hardware was previously present in the brw_context.perfquery
struct.  This commit moves it into perf and provides a more
understandable name.

The intention is for this struct to be private, when all methods that
access it are migrated into perf.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/perf/gen_perf.h
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_performance_query.c