[igt-dev] [PATCH i-g-t] tests/perf: add NOA_WRITE_HIGH to the whitelist test

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Jun 4 07:43:58 UTC 2019


We're missing this register on gen10+, this wasn't used on gen10 which
is why we're noticing so late :(

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

diff --git a/tests/perf.c b/tests/perf.c
index 5ad8b2db..85f04a8a 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -3941,6 +3941,11 @@ test_whitelisted_registers_userspace_config(void)
 	mux_regs[i++] = 0x91C8;
 	mux_regs[i++] = 0;
 
+	if (intel_gen(devid) >= 10) {
+		mux_regs[i++] = 0x9884; /* NOA_WRITE_HIGH */
+		mux_regs[i++] = 0;
+	}
+
 	config.mux_regs_ptr = (uintptr_t) mux_regs;
 	config.n_mux_regs = i / 2;
 
-- 
2.21.0.392.gf8f6787159e



More information about the igt-dev mailing list