i965: add a debug option to disable oa config loading
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 29 Aug 2017 09:41:27 +0000 (10:41 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 28 Nov 2017 13:34:04 +0000 (13:34 +0000)
commit349712018bb05d7709bb90af194c544cb9e3474d
tree964a63bcc3428e128a882ece2de5af0a4cb09a86
parent27ee83eaf7e9976d3df77417eb20e2e1ff3750ff
i965: add a debug option to disable oa config loading

This provides a good way to verify we haven't broken using the perf
driver on older kernels (which don't have the oa config loading
mechanism).

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