test: add gem_write_read_ring_switch

This is meant to exercise the bug fixed in

https://patchwork.kernel.org/patch/2825192/

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-07-10 10:35:10 +02:00
parent 037847a102
commit 21c0ab30a1
2 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,9 @@
/* broadwater flush bits */
#define BRW_MI_GLOBAL_SNAPSHOT_RESET (1 << 3)
#define MI_COND_BATCH_BUFFER_END (0x36<<23 | 1)
#define MI_DO_COMPARE (1<<21)
#define MI_BATCH_BUFFER_END (0xA << 23)
/* Noop */

View File

@ -33,6 +33,7 @@ TESTS_progs_M = \
gem_set_tiling_vs_blt \
gem_tiled_blits \
gem_tiled_partial_pwrite_pread \
gem_write_read_ring_switch \
$(NOUVEAU_TESTS_M) \
kms_flip \
kms_render \