linux/drivers/gpu/drm/i915
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
..
display drm/i915/display: Extract chv_read_luts() 2019-09-10 13:23:26 +03:00
gem drm/i915/selftests: Tighten the timeout testing for partial mmaps 2019-09-10 14:04:46 +01:00
gt drm/i915/ringbuffer: Flush writes before RING_TAIL update 2019-09-10 11:48:13 +01:00
gvt drm/i915/psr: Make PSR registers relative to transcoders 2019-08-22 13:09:06 -07:00
oa
selftests drm/i915/selftests: Take runtime wakeref for igt_ggtt_lowlevel 2019-09-10 12:06:25 +01:00
i915_active.c drm/i915: Only activate i915_active debugobject once 2019-08-27 16:41:41 +01:00
i915_active.h drm/i915: Markup expected timeline locks for i915_active 2019-08-16 18:02:07 +01:00
i915_active_types.h drm/i915: Markup expected timeline locks for i915_active 2019-08-16 18:02:07 +01:00
i915_buddy.c drm/i915/buddy: add missing call to i915_global_register 2019-09-09 10:58:20 +01:00
i915_buddy.h
i915_cmd_parser.c
i915_debugfs.c drm/i915: Protect debugfs per_file_stats with RCU lock 2019-09-06 13:48:46 +01:00
i915_debugfs.h
i915_drv.c drm/i915: Perform GGTT restore much earlier during resume 2019-09-10 11:49:11 +01:00
i915_drv.h drm/i915: cleanup cache-coloring 2019-09-09 21:00:20 +01:00
i915_fixed.h
i915_gem.c drm/i915: Hook up GT power management 2019-09-06 20:29:58 +01:00
i915_gem.h
i915_gem_evict.c drm/i915: cleanup cache-coloring 2019-09-09 21:00:20 +01:00
i915_gem_fence_reg.c drm/i915: Replace i915_vma_put_fence() 2019-08-22 08:53:42 +01:00
i915_gem_fence_reg.h drm/i915: Track ggtt fence reservations under its own mutex 2019-08-22 08:53:40 +01:00
i915_gem_gtt.c drm/i915: s/i915_gtt_color_adjust/i915_ggtt_color_adjust 2019-09-09 21:00:11 +01:00
i915_gem_gtt.h drm/i915: cleanup cache-coloring 2019-09-09 21:00:20 +01:00
i915_getparam.c
i915_globals.c
i915_globals.h
i915_gpu_error.c drm/i915: include GTT page-size info in error state 2019-09-09 22:48:54 +01:00
i915_gpu_error.h drm/i915: include GTT page-size info in error state 2019-09-09 22:48:54 +01:00
i915_ioc32.c
i915_irq.c drm/i915/tgl: Access the right register when handling PSR interruptions 2019-09-04 17:03:35 -07:00
i915_irq.h drm/i915: Extract general GT interrupt handlers 2019-08-12 15:36:13 +01:00
i915_memcpy.c
i915_memcpy.h
i915_mm.c
i915_params.c
i915_params.h
i915_pci.c drm/i915/gtt: Downgrade Cherryview back to aliasing-ppgtt 2019-08-30 20:49:56 +01:00
i915_perf.c drm/i915/perf: Assert locking for i915_init_oa_perf_state() 2019-08-31 16:08:28 +01:00
i915_perf.h
i915_pmu.c drm/i915: Convert a few more bland dmesg info to be device specific 2019-08-15 13:13:23 +01:00
i915_pmu.h
i915_priolist_types.h drm/i915: Push the wakeref->count deferral to the backend 2019-08-13 21:09:49 +01:00
i915_pvinfo.h
i915_query.c drm/i915: Add EU stride runtime parameter 2019-08-23 19:14:22 +01:00
i915_query.h
i915_reg.h drm/i915/display: Extract chv_read_luts() 2019-09-10 13:23:26 +03:00
i915_request.c drm/i915: Protect our local workers against I915_FENCE_TIMEOUT 2019-08-28 18:17:53 +01:00
i915_request.h drm/i915: Protect request retirement with timeline->mutex 2019-08-15 23:21:13 +01:00
i915_scatterlist.c
i915_scatterlist.h drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/ 2019-08-29 21:59:16 +01:00
i915_scheduler.c drm/i915: Push the wakeref->count deferral to the backend 2019-08-13 21:09:49 +01:00
i915_scheduler.h
i915_scheduler_types.h
i915_selftest.h
i915_suspend.c
i915_suspend.h
i915_sw_fence.c Merge drm/drm-next into drm-intel-next-queued 2019-08-22 00:10:36 -07:00
i915_sw_fence.h Merge drm/drm-next into drm-intel-next-queued 2019-08-22 00:10:36 -07:00
i915_sw_fence_work.c drm/i915: Generalise the clflush dma-worker 2019-08-22 08:27:44 +01:00
i915_sw_fence_work.h drm/i915: Generalise the clflush dma-worker 2019-08-22 08:27:44 +01:00
i915_syncmap.c
i915_syncmap.h
i915_sysfs.c
i915_sysfs.h
i915_trace.h
i915_trace_points.c
i915_user_extensions.c
i915_user_extensions.h
i915_utils.c
i915_utils.h drm/i915/execlists: Lift process_csb() out of the irq-off spinlock 2019-08-16 20:59:02 +01:00
i915_vgpu.c drm/i915: to make vgpu ppgtt notificaiton as atomic operation 2019-08-24 12:12:34 +01:00
i915_vgpu.h
i915_vma.c drm/i915: cleanup cache-coloring 2019-09-09 21:00:20 +01:00
i915_vma.h drm/i915: cleanup cache-coloring 2019-09-09 21:00:20 +01:00
intel_csr.c drm/i915/tgl: update DMC firmware to 2.04 2019-08-20 12:49:29 -07:00
intel_csr.h
intel_device_info.c drm/i915: Expand subslice mask 2019-08-23 19:14:27 +01:00
intel_device_info.h
intel_gvt.c
intel_gvt.h
intel_pch.c
intel_pch.h
intel_pm.c drm/i915: Hook up GT power management 2019-09-06 20:29:58 +01:00
intel_pm.h
intel_runtime_pm.c
intel_runtime_pm.h
intel_sideband.c
intel_sideband.h
intel_uncore.c
intel_uncore.h
intel_wakeref.c drm/i915: Push the wakeref->count deferral to the backend 2019-08-13 21:09:49 +01:00
intel_wakeref.h drm/i915: Push the wakeref->count deferral to the backend 2019-08-13 21:09:49 +01:00
intel_wopcm.c drm/i915/wopcm: Fix SPDX tag location 2019-08-16 16:50:03 +01:00
intel_wopcm.h
Kconfig
Kconfig.debug
Kconfig.profile
Makefile drm/i915: Generalise the clflush dma-worker 2019-08-22 08:27:44 +01:00