diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-24 12:05:23 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-21 11:22:17 +0000 |
commit | 960e55a87d7b7d7385063e37cc9f281df2be8037 (patch) | |
tree | acf964b4a5dcca5dbcd0e1b6315f9023924c9b55 /tests/Makefile.sources | |
parent | c3d11ca104fa2f706e0b85941354e159634ea4ee (diff) |
igt/gem_ctx_isolation: Check isolation of registers between contexts
A new context assumes that all of its registers are in the default state
when it is created. What may happen is that a register written by one
context may leak into the second, causing mass confusion.
v2: Extend back to Sandybridge (etc)
v3: Check context preserves registers across suspend/hibernate and resets.
v4: Complete the remapping onto the new class:instance
v5: Not like that, like this, try again to use class:instance
v6: Prepare for retrospective gen4 contexts!
v7: Repaint register set name to nonpriv, as this is what bspec calls the
registers that are writable by userspace.
v8: Fix a typo for LRM on gen8
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tests/Makefile.sources')
-rw-r--r-- | tests/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.sources b/tests/Makefile.sources index 870c9093..b277de2f 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -57,6 +57,7 @@ TESTS_progs = \ gem_ctx_bad_exec \ gem_ctx_create \ gem_ctx_exec \ + gem_ctx_isolation \ gem_ctx_param \ gem_ctx_switch \ gem_ctx_thrash \ |