[Mesa-dev] [PATCH 0/5] i965: add support for loadable OA configs

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Aug 29 10:58:53 UTC 2017


Hi,

Some recent work in the i915 kernel driver enables us to load OA
configs from userspace, so new configs can be deployed without having
to modify the kernel. This series makes use of this feature in i965 if
available.

Cheers,

Lionel Landwerlin (5):
  i965: perf: make revision variable available
  i965: perf: factorize code for availability
  i965: perf: list registers to program for queries
  i965: perf: add support for userspace configurations
  i965: add a debug option to disable oa config loading

 src/intel/common/gen_debug.c                      |   1 +
 src/intel/common/gen_debug.h                      |   2 +-
 src/mesa/drivers/dri/i965/brw_context.h           |  16 ++++
 src/mesa/drivers/dri/i965/brw_oa.py               |  80 ++++++++++++++---
 src/mesa/drivers/dri/i965/brw_performance_query.c | 102 +++++++++++++++++++++-
 src/mesa/drivers/dri/i965/intel_screen.c          |   9 +-
 src/mesa/drivers/dri/i965/intel_screen.h          |   3 +
 7 files changed, 191 insertions(+), 22 deletions(-)

--
2.14.1


More information about the mesa-dev mailing list