i965: Add Gen8+ INTEL_performance_query support
authorRobert Bragg <robert@sixbynine.org>
Wed, 25 Nov 2015 16:41:04 +0000 (16:41 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 27 Jun 2017 11:10:29 +0000 (14:10 +0300)
commit1fc7b951278428bd0fbbe040226737a44742f353
treeffa4365c166418c196e82e91d4bcf87c76120c57
parent243909d41efd266f2c4817bbe968c9ad558df160
i965: Add Gen8+ INTEL_performance_query support

Enables access to OA unit metrics on Gen8+ via INTEL_performance_query.

v2: make use of new parameters coming from gen_device_info (Lionel)

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_performance_query.c