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.
This commit is contained in:
Daniel Vetter 2012-10-18 22:37:20 +02:00
parent ea50871f15
commit 554237f351

View File

@ -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))