[Mesa-dev] [PATCH 0/3] i965: INTEL_performance_query for pipeline stats

Robert Bragg robert at sixbynine.org
Wed Feb 15 21:37:34 UTC 2017


To hopefully make progress towards landing support for OA unit metrics exposed
via INTEL_performance_query the idea here is to first just tackle upstreaming
the backend rework with an initial implementation supporting pipeline
statistics.

In case anyone wants to look ahead, my branch with these patches as well as OA
unit support can be found at https://github.com/rib/mesa - wip/rib/oa-next

Regards,
- Robert

Robert Bragg (3):
  Separate INTEL_performance_query frontend
  Model INTEL perf query backend after query object BE
  i965: Implement INTEL_performance_query backend

 src/mapi/glapi/gen/gl_genexec.py                  |   1 +
 src/mesa/Makefile.sources                         |   2 +
 src/mesa/drivers/dri/i965/Makefile.sources        |   2 +
 src/mesa/drivers/dri/i965/brw_context.c           |   3 +
 src/mesa/drivers/dri/i965/brw_context.h           |  23 +
 src/mesa/drivers/dri/i965/brw_performance_query.c | 595 ++++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_performance_query.h |  49 ++
 src/mesa/drivers/dri/i965/intel_extensions.c      |   3 +
 src/mesa/main/context.c                           |   3 +
 src/mesa/main/dd.h                                |  41 ++
 src/mesa/main/mtypes.h                            |  27 +
 src/mesa/main/performance_monitor.c               | 590 --------------------
 src/mesa/main/performance_monitor.h               |  39 --
 src/mesa/main/performance_query.c                 | 629 ++++++++++++++++++++++
 src/mesa/main/performance_query.h                 |  80 +++
 15 files changed, 1458 insertions(+), 629 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_performance_query.c
 create mode 100644 src/mesa/drivers/dri/i965/brw_performance_query.h
 create mode 100644 src/mesa/main/performance_query.c
 create mode 100644 src/mesa/main/performance_query.h

-- 
2.11.1



More information about the mesa-dev mailing list