diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-10 13:10:09 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-10 14:04:46 +0100 |
commit | 07e98eb0a17482557198ae12a07a6e3a89de33a3 (patch) | |
tree | d20f37f5b5108b8d160f5a3a817a97bcf9dc40e9 /drivers/gpu/drm/i915/i915_pci.c | |
parent | 7c465310fefc6a600eb69521b8420564f0f37b2d (diff) | |
download | linux-stable-07e98eb0a17482557198ae12a07a6e3a89de33a3.tar.gz linux-stable-07e98eb0a17482557198ae12a07a6e3a89de33a3.tar.bz2 linux-stable-07e98eb0a17482557198ae12a07a6e3a89de33a3.zip |
drm/i915/selftests: Tighten the timeout testing for partial mmaps
Currently, if there is time remaining before the start of the loop, we
do one full iteration over many possible different chunks within the
object. A full loop may take 50+s (depending on speed of indirect GTT
mmapings) and we try separately with LINEAR, X and Y -- at which point
igt times out. If we check more frequently, we will interrupt the loop
upon our timeout -- it is hard to argue for as this significantly reduces
the test coverage as we dramatically reduce the runtime. In practical
terms, the coverage we should prioritise is in using different fence
setups, forcing verification of the tile row computations over the
current preference of checking extracting chunks. Though the exhaustive
search is great given an infinite timeout, to improve our current
coverage, we also add a randomised smoketest of partial mmaps. So let's
do both, add a randomised smoketest of partial tiling chunks and the
exhaustive (though time limited) search for failures.
Even in adding another subtest, we should shave 100s off BAT! (With,
hopefully, no loss in coverage, at least over multiple runs.)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190910121009.13431-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
0 files changed, 0 insertions, 0 deletions