linux_dsm_epyc7002/drivers/gpu/drm/i915/gem/selftests
Chris Wilson 07e98eb0a1 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
2019-09-10 14:04:46 +01:00
..
huge_gem_object.c drm/i915: Pull scatterlist utils out of i915_gem.h 2019-05-28 12:45:29 +01:00
huge_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
huge_pages.c drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context 2019-08-24 09:10:08 +01:00
i915_gem_client_blt.c drm/i915/blt: bump the size restriction 2019-08-10 11:19:00 +01:00
i915_gem_coherency.c drm/i915: Serialize against vma moves 2019-08-19 15:25:56 +01:00
i915_gem_context.c drm/i915/selftests: Remove unused __engines_name() 2019-09-03 07:44:04 +01:00
i915_gem_dmabuf.c drm/i915: Fix up broken merge 2019-07-22 23:43:15 +02:00
i915_gem_mman.c drm/i915/selftests: Tighten the timeout testing for partial mmaps 2019-09-10 14:04:46 +01:00
i915_gem_object_blt.c drm/i915/blt: support copying objects 2019-08-10 19:35:36 +01:00
i915_gem_object.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
i915_gem_phys.c drm/i915: Move GEM object domain management from struct_mutex to local 2019-05-28 12:45:29 +01:00
igt_gem_utils.c drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context 2019-08-24 09:10:08 +01:00
igt_gem_utils.h drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context 2019-08-24 09:10:08 +01:00
mock_context.c drm/i915: Rename i915_hw_ppgtt to i915_ppgtt 2019-06-11 11:44:32 +01:00
mock_context.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00