diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-27 14:44:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-27 22:51:20 +0100 |
commit | 0a393229479d61829a2f8671c1a46f533c76b385 (patch) | |
tree | 9dd6297bb523e63a8afebf6b80ed5c4bbe38f9a5 /lib/intel_batchbuffer.c | |
parent | d5657417d6e5ac67c5af17688246977de258bfaa (diff) |
igt/gem_ctx_isolation: Reset a scratch context
If we inject a reset into the target context, there is a risk that the
register state is never saved back to memory. The exact interaction
between reset, the context image and the precise timing of our execution
are not well defined. Since we cannot ensure that the context image
remains valid, force a context switch prior to the reset.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105270
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105457
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105545
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions