diff options
author | Matthew Auld <matthew.auld@intel.com> | 2020-03-05 23:47:11 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-06 17:33:15 +0300 |
commit | 1fe3818d17c9a75355989d5dc833db5ab0ee0c24 (patch) | |
tree | 56448b8fb8a38bf7fe41c73a773a3c5ba1554755 /drivers/gpu/drm/i915/i915_drv.h | |
parent | f4b1b92f411ea491954de9f803d693d943deb39c (diff) | |
download | linux-1fe3818d17c9a75355989d5dc833db5ab0ee0c24.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions