[igt-dev] [PATCH i-g-t] tests/perf: update config register whitelist

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Feb 23 16:28:26 UTC 2018


We have a gap for HSW on one Compute configuration.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 tests/perf.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/perf.c b/tests/perf.c
index c302a355..ccbf030a 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -3957,6 +3957,12 @@ test_whitelisted_registers_userspace_config(void)
 		b_counters_regs[config.n_boolean_regs * 2 + 1] = 0;
 		config.n_boolean_regs++;
 	}
+	if (intel_gen(devid) <= 7) {
+		/* NOASELECT */
+		b_counters_regs[config.n_boolean_regs * 2] = 0x236C;
+		b_counters_regs[config.n_boolean_regs * 2 + 1] = 0;
+		config.n_boolean_regs++;
+	}
 	config.boolean_regs_ptr = (uintptr_t) b_counters_regs;
 
 	if (intel_gen(devid) >= 8) {
-- 
2.16.1



More information about the igt-dev mailing list