[igt-dev] [PATCH i-g-t] tests/perf: fix gen8 small cores whitelist expectation

Lionel Landwerlin lionel.g.landwerlin at intel.com
Sat Apr 7 12:30:44 UTC 2018


We don't expect to access those registers on Braswell.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105593
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 tests/perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/perf.c b/tests/perf.c
index 153f30eb..2a73d5b9 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -3932,7 +3932,7 @@ test_whitelisted_registers_userspace_config(void)
 		mux_regs[i++] = 0;
 	}
 
-	if (intel_gen(devid) >= 8) {
+	if (intel_gen(devid) >= 8 && !IS_CHERRYVIEW(devid)) {
 		/* NOA_CONFIG */
 		mux_regs[i++] = 0xD04;
 		mux_regs[i++] = 0;
-- 
2.17.0



More information about the igt-dev mailing list