Add gem_bad_reloc

This test feeds a batch containing self-references into the kernel and
checks that the relocation offsets remain as valid GTT addresses. This
is to exercise SNA passing in negative relocation deltas which can hang
the GPU if they wrap around.

References: https://bugs.freedesktop.org/show_bug.cgi?id=78533
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2014-05-15 08:43:11 +01:00
parent 62cd793c37
commit daa9e3d80a
3 changed files with 118 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ gem_bad_address
gem_bad_batch
gem_bad_blit
gem_bad_length
gem_bad_reloc
gem_basic
gem_caching
gem_close_race