igt/gem_request_retire: Provoke context destruction with active VMAs

Test designed to trigger the
WARN_ON(!list_empty(&ppgtt->base.active_list))
in i915_gem_context_clean.

v2:
Simplify execbuf building and the test itself. Cleanup code. (Chris Wilson)

v3:
Removed asserts done by the helpers already. (Chris Wilson)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Tvrtko Ursulin
2015-11-19 15:02:15 +00:00
parent b68a6428db
commit dcdf21beb8
3 changed files with 235 additions and 0 deletions
+1
View File
@@ -91,6 +91,7 @@ gem_render_copy
gem_render_copy_redux
gem_render_linear_blits
gem_render_tiled_blits
gem_request_retire
gem_reset_stats
gem_ring_sync_copy
gem_ring_sync_loop