tests/wait render timeout test

Assures that signals interrupting the wait works properly. Because of
the scheduling around signals, interrupted waits will *seem* faster as
the GPU continues to work while all the CPU scheduling stuff happens.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky
2012-05-11 13:54:12 -07:00
committed by Daniel Vetter
parent c26b5ee72f
commit 9cfcb75b79
2 changed files with 158 additions and 0 deletions
+3
View File
@@ -63,6 +63,7 @@ TESTS_progs = \
drm_vma_limiter_cached \
sysfs_rc6_residency \
flip_test \
gem_wait_render_timeout \
$(NULL)
# IMPORTANT: The ZZ_ tests need to be run last!
@@ -117,3 +118,5 @@ AM_CFLAGS += $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) $(GLIB_CFLAGS)
gem_fence_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_fence_thrash_LDADD = $(LDADD) -lpthread
gem_wait_render_timeout_LDADD = $(LDADD) -lrt