commit | 1fe3818d17c9a75355989d5dc833db5ab0ee0c24 | [log] [tgz] |
---|---|---|
author | Matthew Auld <matthew.auld@intel.com> | Thu Mar 05 20:47:11 2020 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 06 14:33:15 2020 +0000 |
tree | 56448b8fb8a38bf7fe41c73a773a3c5ba1554755 | |
parent | f4b1b92f411ea491954de9f803d693d943deb39c [diff] |
drm/i915/selftests: try to rein in alloc_smoke Depending on RNG we might try to fill an 8G region for every possible order, using the smallest possible chunk size of 4K, which seems to be very slow. Try to remedy the situation by adding an overall timeout for the test, while also selecting each order level in a random fashion. Closes: https://gitlab.freedesktop.org/drm/intel/issues/1310 Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20200305204711.217783-2-matthew.auld@intel.com