Skip to contentSkip to conversation

tests: add gem_seqno_wrap test

PATCH New Mika Kuoppala 1 participant 1 message Nov 13, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: add gem_seqno_wrap test

This test uses debugfs entry to set next_seqno close to a wrapping point and then creates a load with gem_stress to induce the wrap.

---
 tests/Makefile.am      |    1 +
 tests/gem_seqno_wrap.c |  248 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 249 insertions(+)
 create mode 100644 tests/gem_seqno_wrap.c
tests/Makefile.am +1 -0
index 6e6bd7e..cfa0cee 100644
@@ -44,6 +44,7 @@ TESTS_progs = \
 	gem_linear_blits \
 	gem_vmap_blits \
 	gem_threaded_access_tiled \
+	gem_seqno_wrap \
 	gem_tiled_blits \
 	gem_tiled_fence_blits \
 	gem_largeobject \
tests/gem_seqno_wrap.c new file +248 -0

248 lines not on this page · raw message

Signature · 1 line
1.7.9.5