[Mesa-dev] [PATCH 0/8] i965: Support OA counters via INTEL_performance_query

Robert Bragg robert at sixbynine.org
Fri Feb 24 13:57:55 UTC 2017


This builds on the recent i965/INTEL_performance_query work to add support for
Haswell OA unit performance counters (Gen 8 and 9 support to follow once
corresponding kernel supports lands).

Robert Bragg (8):
  main/performance_query: s/GLboolean/bool/
  i965: XML description of Haswell OA metric set
  i965: brw_context.h additions for OA unit query codegen
  i965: extend query/counter structs for OA queries
  i965: Add script to gen code for OA counter queries
  exec_list: Add a foreach_list_typed_from macro
  i965: Expose OA counters via INTEL_performance_query
  i965: Add more Haswell OA metrics sets

 src/compiler/glsl/list.h                          |    5 +
 src/mesa/drivers/dri/i965/Makefile.am             |   15 +-
 src/mesa/drivers/dri/i965/Makefile.sources        |    2 +
 src/mesa/drivers/dri/i965/brw_context.h           |   85 +
 src/mesa/drivers/dri/i965/brw_oa.py               |  543 +++
 src/mesa/drivers/dri/i965/brw_oa_hsw.xml          | 4400 +++++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_performance_query.c | 1123 +++++-
 src/mesa/drivers/dri/i965/brw_performance_query.h |   10 +-
 src/mesa/main/dd.h                                |    8 +-
 9 files changed, 6170 insertions(+), 21 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_oa.py
 create mode 100644 src/mesa/drivers/dri/i965/brw_oa_hsw.xml

-- 
2.11.1



More information about the mesa-dev mailing list