public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/perf: add NOA_WRITE_HIGH to the whitelist test
@ 2019-06-04  7:43 Lionel Landwerlin
  2019-06-04 10:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-06-04 16:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Lionel Landwerlin @ 2019-06-04  7:43 UTC (permalink / raw)
  To: igt-dev

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@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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-04 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-04  7:43 [igt-dev] [PATCH i-g-t] tests/perf: add NOA_WRITE_HIGH to the whitelist test Lionel Landwerlin
2019-06-04 10:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-06-04 16:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox