mesa/src
Robert Bragg f46e58e018 i965: extend query/counter structs for OA queries
In preparation for generating code from brw_oa_hsw.xml for describing OA
performance counter queries this adds some OA specific members to
brw_perf_query that our generated code will initialize:

- The oa_metric_set_id is the ID we will pass to
  DRM_IOCTL_I915_PERF_OPEN, and is an ID got via sysfs under:
  /sys/class/drm/<card>/metrics/<guid/id

- The oa_format is the OA report layout we will request from the kernel

- The accumulator offsets determine where the different groups of A, B
  and C counters are located within an intermediate 64bit 'accumulator'
  buffer.

Additionally brw_perf_query_counter now has 64bit or float _read()
callback members for OA counters.

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
2017-03-09 12:53:07 +00:00
..
amd radv: Don't flush the CB before doing a fast clear eliminate. 2017-03-09 02:35:28 +01:00
compiler glsl/blob: clear padding bytes 2017-03-09 20:41:02 +11:00
egl EGL/Android: Add EGL_EXT_buffer_age extension 2017-03-04 16:37:12 +00:00
gallium nv50/ir: check for origin insn in findOriginForTestWithZero 2017-03-09 12:42:46 +01:00
gbm gbm/dri: fix memory leaks in error path 2017-01-27 17:56:58 +00:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx/tests: automake: add dispatch-index-check to the tarball 2017-02-28 16:18:27 +00:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: change BLOCK_POOL_MEMFD_SIZE to exactly 2GB 2017-03-08 07:57:55 +02:00
loader loader: Move non-error message to debug level 2017-03-08 16:35:00 +00:00
mapi glapi: fix typo in count_scale 2017-03-07 08:11:40 +11:00
mesa i965: extend query/counter structs for OA queries 2017-03-09 12:53:07 +00:00
util util/disk_cache: fix size subtraction on 32bit 2017-03-09 20:26:30 +11:00
vulkan android: fix outdir for gen_enum_to_str files 2017-03-04 16:38:33 +00:00
Makefile.am automake: move wayland-drm prior to Vulkan 2017-03-04 23:44:14 +00:00
SConscript