i965: perf: enable GPA query statistics
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Feb 2018 10:56:42 +0000 (10:56 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 23 Apr 2018 17:30:10 +0000 (18:30 +0100)
commit2964e16e5158bfba1fa4da05f12d87ab584c2a1a
tree669731fadbd46d3bdd9212f5f94e010778ff2611
parent2e3025c817a6694e3a6b093ea0e5e07922271a54
i965: perf: enable GPA query statistics

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)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_performance_query.c
src/mesa/drivers/dri/i965/brw_performance_query.h
src/mesa/drivers/dri/i965/brw_performance_query_mdapi.c