summaryrefslogtreecommitdiff
path: root/tests/.gitignore
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-02 17:27:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-02 17:35:01 +0100
commit3b9a76d2fa40b43ed3231d3c5382ea05317b9bde (patch)
tree54091753f2fd04ec98ab389566eb1e2ef2235258 /tests/.gitignore
parentd619a672df97f34cfbbebe89ed8cbe15827182a1 (diff)
tests: Add gem_cpu_reloc
Attempt to stress test performing relocations whilst the batch is in the CPU domain. A freshly allocated buffer starts in the CPU domain, and the pwrite should also be performed whilst in the CPU domain and so we should execute the relocations within the CPU domain. If for any reason one of those steps should land it in the GTT domain, we take the secondary precaution of filling the mappable portion of the GATT. In order to detect whether a relocation fails, we first fill a target buffer with a sequence of invalid commands that would cause the GPU to immediate hang, and then attempt to overwrite them with a legal, if short, batchbuffer using a BLT. Then we come to execute the bo, if the relocation fail and we either copy across all zeros or garbage, then the GPU will hang. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/.gitignore')
-rw-r--r--tests/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index cd65f5ac..0d0f178a 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -11,6 +11,7 @@ gem_basic
gem_cacheing
gem_cs_prefetch
gem_cpu_concurrent_blit
+gem_cpu_reloc
gem_ctx_bad_destroy
gem_ctx_bad_exec
gem_ctx_basic