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
@@ -53,6 +53,7 @@ TESTS_progs_M = \
gem_reloc_overflow \
gem_reloc_vs_gpu \
gem_render_copy_redux \
gem_request_retire \
gem_reset_stats \
gem_ringfill \
gem_set_tiling_vs_blt \