linux-stable/drivers/gpu/drm/i915/selftests
Chris Wilson 8ec21a7c4b drm/i915/selftests: Use a sacrificial context for hang testing
Avoid injecting hangs in to the i915->kernel_context in case the GPU
reset leaves corruption in the context image in its wake (leading to
continual failures and system hangs after the selftests are ostensibly
complete). Use a sacrificial kernel_context instead.

v2: Closing a context is tricky; export a function (for selftests) from
i915_gem_context.c to get it right.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180205152431.12163-2-chris@chris-wilson.co.uk
2018-02-05 15:27:24 +00:00
..
huge_gem_object.c drm/i915: introduce page_size members 2017-10-07 10:11:48 +01:00
huge_gem_object.h
huge_pages.c drm/i915: prefer i915_gem_object_has_pages() 2017-12-18 11:53:29 +00:00
i915_gem_coherency.c drm/i915/selftests: Markup __iomem for igt_gem_coherency 2017-11-15 17:12:49 +00:00
i915_gem_context.c drm/i915/selftests: Wake the device before executing requests on the GPU 2017-12-01 10:43:04 +00:00
i915_gem_dmabuf.c
i915_gem_evict.c drm/i915/selftests: Hold rpm wakeref for request + ggtt usage 2017-11-24 09:10:58 +00:00
i915_gem_gtt.c drm/i915/selftests: add missing gtt shrinker test 2018-02-01 07:22:47 +00:00
i915_gem_object.c drm/i915/selftests: Take rpm wakeref around partial tiling tests 2017-11-07 17:50:34 +00:00
i915_gem_request.c drm/i915: Automatic i915_switch_context for legacy 2017-11-20 15:56:16 +00:00
i915_gem_timeline.c drm/i915/selftests: Always initialise err 2017-11-14 23:50:49 +00:00
i915_live_selftests.h More change sets for 4.16: 2017-12-04 10:56:53 +10:00
i915_mock_selftests.h main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
i915_random.c drm/i915/selftests: Allow random array allocation to fail 2018-01-02 15:30:40 +00:00
i915_random.h
i915_selftest.c
i915_sw_fence.c drm/i915/selftests: Wait for the dma-fence timeout 2018-01-17 17:09:59 +00:00
i915_syncmap.c drm/i915/selftests: Always initialise err 2017-11-14 23:50:49 +00:00
i915_vma.c drm/i915/selftests: Always initialise err 2017-11-14 23:50:49 +00:00
intel_breadcrumbs.c Pass mode to wait_on_atomic_t() action funcs and provide default actions 2017-11-13 15:38:16 +00:00
intel_guc.c drm/i915/guc: Extract doorbell creation from client allocation 2017-12-14 08:06:59 +00:00
intel_hangcheck.c drm/i915/selftests: Use a sacrificial context for hang testing 2018-02-05 15:27:24 +00:00
intel_uncore.c drm/i915: Acquire PUNIT->PMIC bus for intel_uncore_forcewake_reset() 2017-11-10 13:14:03 +01:00
lib_sw_fence.c drm/i915/selftests: Convert timers to use timer_setup() 2017-11-21 15:46:44 -08:00
lib_sw_fence.h drm/i915/selftests: Wrap a timer into a i915_sw_fence 2017-10-12 21:06:26 +01:00
mock_context.c drm/i915/selftests: Use a sacrificial context for hang testing 2018-02-05 15:27:24 +00:00
mock_context.h drm/i915/selftests: Use a sacrificial context for hang testing 2018-02-05 15:27:24 +00:00
mock_dmabuf.c
mock_dmabuf.h
mock_drm.c
mock_drm.h
mock_engine.c drm/i915/selftests: Increase size for mock ringbuffer 2017-11-15 17:12:49 +00:00
mock_engine.h
mock_gem_device.c drm/i915/selftests: Free mock_i915->drm.mode_config 2017-12-11 11:24:30 +00:00
mock_gem_device.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mock_gem_object.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mock_gtt.c drm/i915: make mappable struct resource centric 2017-12-12 12:30:21 +02:00
mock_gtt.h
mock_request.c
mock_request.h
mock_timeline.c
mock_timeline.h
mock_uncore.c
mock_uncore.h
scatterlist.c drm/i915/selftests: mix huge pages 2017-10-07 10:12:03 +01:00