i965: perf: enable GPA query statistics

Graphics / Mesa 3D Graphics Library / Mesa - Lionel Landwerlin [intel.com] - 23 April 2018 17:30 EDT

The combinaison of GPA/MDAPI components expects a particular name & layout for their pipeline statistics query.

v2: Limit the query GPA/MDAPI statistics to gen7->9 (Lionel)

v3: Add curly braces (Ken)

2964e16e51 i965: perf: enable GPA query statistics
src/mesa/drivers/dri/i965/brw_performance_query.c | 1 +
src/mesa/drivers/dri/i965/brw_performance_query.h | 2 +-
.../drivers/dri/i965/brw_performance_query_mdapi.c | 66 ++++++++++++++++++++++
3 files changed, 68 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share