[Intel-gfx] [PATCH] tests/wait render timeout test

2012-05-11 Thread Ben Widawsky
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 --- tests/Makefile.am |3 + tests/gem_w

[Intel-gfx] [PATCH] tests/wait render timeout test

2012-04-29 Thread Ben Widawsky
Not sure I want to include this in the make test suite, but it's useful to both test the feature, and show how it can be used. Signed-off-by: Ben Widawsky --- tests/gem_wait_render_timeout.c | 175 +++ 2 files changed, 176 insertions(+) create mode 100644 te