intel/perf: move perf-related constants to common location
authorMark Janes <mark.a.janes@intel.com>
Wed, 29 May 2019 15:43:34 +0000 (08:43 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 8 Aug 2019 04:33:55 +0000 (21:33 -0700)
commit2446f5cfd8408a69b3ebf2543f08b3ca2fb000d7
tree323d0e2dae3f1b866f61cfc57fdbfe6d65d29245
parent67675a58029c638064c2f6c6dc148c2bf737fafd
intel/perf: move perf-related constants to common location

The perf subsystem needs several macro definitions that were
duplicated in Iris and i965 headers.  Place these macros within perf,
if the perf implementation contains the only references to the values.

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