public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] gem_ctx_isolation.c - Gen11 enabling for context isolation test
@ 2019-01-31  1:31 Dale B Stimson
  2019-01-31  2:20 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dale B Stimson @ 2019-01-31  1:31 UTC (permalink / raw)
  To: igt-dev

The context isolation test was being skipped for anything exceeding
Gen10.

Enable test execution through Gen11.

Test the same registers as for Gen9 through Gen10.

Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>
---
 tests/i915/gem_ctx_isolation.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/i915/gem_ctx_isolation.c b/tests/i915/gem_ctx_isolation.c
index 839d49ad..99d90aab 100644
--- a/tests/i915/gem_ctx_isolation.c
+++ b/tests/i915/gem_ctx_isolation.c
@@ -52,10 +52,12 @@ enum {
 #define GEN7 (ALL << 7)
 #define GEN8 (ALL << 8)
 #define GEN9 (ALL << 9)
+#define GEN10 (ALL << 10)
+#define GEN11 (ALL << 11)
 
 #define NOCTX 0
 
-#define LAST_KNOWN_GEN 10
+#define LAST_KNOWN_GEN 11
 
 static const struct named_register {
 	const char *name;
@@ -127,8 +129,8 @@ static const struct named_register {
 
 	/* Privileged (enabled by w/a + FORCE_TO_NONPRIV) */
 	{ "CTX_PREEMPT", NOCTX /* GEN_RANGE(9, 10) */, RCS0, 0x2248 },
-	{ "CS_CHICKEN1", GEN_RANGE(9, 10), RCS0, 0x2580 },
-	{ "HDC_CHICKEN1", GEN_RANGE(9, 10), RCS0, 0x7304 },
+	{ "CS_CHICKEN1", GEN_RANGE(9, 11), RCS0, 0x2580 },
+	{ "HDC_CHICKEN1", GEN_RANGE(9, 11), RCS0, 0x7304 },
 	{ "L3SQREG1", GEN8, RCS0, 0xb010 },
 
 	{ "BCS_GPR", GEN9, BCS0, 0x22600, 32 },
-- 
2.20.1

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

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

end of thread, other threads:[~2019-01-31 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-31  1:31 [igt-dev] [PATCH i-g-t] gem_ctx_isolation.c - Gen11 enabling for context isolation test Dale B Stimson
2019-01-31  2:20 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-01-31  7:23 ` [igt-dev] [PATCH i-g-t] " Chris Wilson
2019-01-31 13:52 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

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