diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-18 22:37:20 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-19 00:26:16 +0200 |
commit | 554237f35109b64d1ecd5a309190c4f654f49dab (patch) | |
tree | f6a9ee6c2e1c0e64d9de986faccfb8514cbecdaa | |
parent | ea50871f15d02b2f0f57d9c430dc2c34398f2655 (diff) |
tests/gem_cs_tlb: make it more robust
... using a fine roll of duct-tape. Dunno what exactly leaks out from
the previous testcase, but the bo gets moved about a bit and makes the
self-check of the test fail.
-rw-r--r-- | tests/gem_cs_tlb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gem_cs_tlb.c b/tests/gem_cs_tlb.c index d42b9a01..09213648 100644 --- a/tests/gem_cs_tlb.c +++ b/tests/gem_cs_tlb.c @@ -151,6 +151,11 @@ int main(int argc, char **argv) fd = drm_open_any(); devid = intel_get_drm_devid(fd); + /* This test is very sensitive to residual gtt_mm noise from previous + * tests. Try to quiet thing down first. */ + gem_quiescent_gpu(fd); + sleep(5); /* needs more serious ducttape */ + run_on_ring(fd, I915_EXEC_RENDER, "render"); if (HAS_BSD_RING(devid)) |