[Intel-gfx] [PATCH] tests/gem_fence_trash: make threaded tests more through-rough
Daniel Vetter
daniel.vetter at ffwll.ch
Sun Apr 7 19:21:11 CEST 2013
With this at least the y-tiled test reliably fails on my machines, but
x-tiled still passes on some. More ideas to tune this highly welcome.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
tests/gem_fence_thrash.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/tests/gem_fence_thrash.c b/tests/gem_fence_thrash.c
index 3fc72a1..2bd5f83 100644
--- a/tests/gem_fence_thrash.c
+++ b/tests/gem_fence_thrash.c
@@ -216,11 +216,19 @@ main(int argc, char **argv)
if (drmtest_run_subtest("bo-write-verify-threaded-none"))
assert (run_test(5, bo_write_verify, I915_TILING_NONE, 2) == 0);
- if (drmtest_run_subtest("bo-write-verify-threaded-x"))
+ if (drmtest_run_subtest("bo-write-verify-threaded-x")) {
+ assert (run_test(2, bo_write_verify, I915_TILING_X, 2) == 0);
assert (run_test(5, bo_write_verify, I915_TILING_X, 2) == 0);
+ assert (run_test(10, bo_write_verify, I915_TILING_X, 2) == 0);
+ assert (run_test(20, bo_write_verify, I915_TILING_X, 2) == 0);
+ }
- if (drmtest_run_subtest("bo-write-verify-threaded-y"))
+ if (drmtest_run_subtest("bo-write-verify-threaded-y")) {
+ assert (run_test(2, bo_write_verify, I915_TILING_Y, 2) == 0);
assert (run_test(5, bo_write_verify, I915_TILING_Y, 2) == 0);
+ assert (run_test(10, bo_write_verify, I915_TILING_Y, 2) == 0);
+ assert (run_test(20, bo_write_verify, I915_TILING_Y, 2) == 0);
+ }
if (drmtest_run_subtest("bo-copy"))
assert(run_test(1, bo_copy, I915_TILING_X, 1) == 0);
--
1.7.10.4
More information about the Intel-gfx
mailing list