diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-09 14:17:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-09 14:52:35 +0100 |
commit | 961578f47133d7310e9531d31e7ea5e743ed6b50 (patch) | |
tree | f45c0f14804ebff1d495a823f57b164844785efc /lib/intel_batchbuffer.c | |
parent | d9d3f4b0d23a7ea2147f33ab40558edd6128f3ac (diff) |
test: Exercise full ppgtt switching between multiple fd
Load up both rings with lots of fighting between multiple contexts.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_batchbuffer.c')
-rw-r--r-- | lib/intel_batchbuffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 7313bb59..9408ad9e 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -81,6 +81,7 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch) memset(batch->buffer, 0, sizeof(batch->buffer)); batch->ptr = batch->buffer; + batch->end = NULL; } /** |