tests/gem_ctx_exec: Add eviction test

It didn't pan out at all since atm we don't evict context objects. But
maybe it's useful for when that happens.

v2: Actually test eviction. Took a while to figure that one out.

And indeed the testcase now fails because we don't evict the previous
context as we should.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-12-05 15:49:58 +01:00
parent 1a95c710f9
commit 40b586188c
2 changed files with 94 additions and 18 deletions
+1 -1
View File
@@ -21,6 +21,7 @@ TESTS_progs_M = \
gem_concurrent_blit \
gem_cs_tlb \
gem_ctx_bad_exec \
gem_ctx_exec \
gem_dummy_reloc_loop \
gem_evict_alignment \
gem_evict_everything \
@@ -75,7 +76,6 @@ TESTS_progs = \
gem_ctx_bad_destroy \
gem_ctx_basic \
gem_ctx_create \
gem_ctx_exec \
gem_double_irq_loop \
gem_exec_big \
gem_exec_blt \