tests: add store dword tests

Add a couple of simple store dword tests to test memory coherence.

gem_storedw_loop simply executes a batch that continually stores an
incremented value to a target buffer object, checking the results after
each batch completes.

gem_storedw_batches_loop does the same thing, but creates a new command
batch buffer for each iteration, which can exercise the buffer creation
code.  This test is based on one from Andrzej Kacprowski from Intel.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Jesse Barnes
2011-08-12 12:51:34 -07:00
parent 6857a1af81
commit 922214f986
3 changed files with 284 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ TESTS = getversion \
gen3_render_tiledy_blits \
gen3_render_mixed_blits \
gen3_mixed_blits \
gem_storedw_loop \
gem_storedw_batches_loop \
$(NULL)
HANG = \