linux/drivers/gpu/drm/i915/selftests
Chris Wilson c95e7ce387 drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting
Some tests (e.g. igt_vma_pin1) presume that we have a completely clean
GGTT so that it can probe boundaries without fear that something is
already allocated there. However, the mock device is starting to get
complicated and following similar rules to the live device, i.e. we
can't guarantee that i915->ggtt remains clean, so create a temporary
address_space equivalent to the mock ggtt for the purpose.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190121222117.23305-7-chris@chris-wilson.co.uk
2019-01-22 12:50:39 +00:00
..
huge_gem_object.c
huge_gem_object.h
huge_pages.c drm/i915/selftests: Query the vm under test for hugepage support 2019-01-18 09:07:06 +00:00
i915_gem_coherency.c drm/i915/selftests: Mark up rpm wakerefs 2019-01-14 16:18:20 +00:00
i915_gem_context.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_gem_dmabuf.c
i915_gem_evict.c drm/i915/selftests: Track evict objects explicitly 2019-01-22 11:58:35 +00:00
i915_gem_gtt.c drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
i915_gem_object.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_gem.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_live_selftests.h drm/i915/selftests: Add a simple exerciser for suspend/hibernate 2018-08-31 10:21:00 +01:00
i915_mock_selftests.h
i915_random.c
i915_random.h
i915_request.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_selftest.c drm/i915/selftests: Include the start of each subtest in the GEM trace 2018-07-13 22:30:56 +01:00
i915_sw_fence.c drm/i915: Remove unecessary dma_fence_ops 2018-08-17 11:22:15 +02:00
i915_syncmap.c
i915_timeline.c
i915_vma.c drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
igt_flush_test.c drm/i915/selftests: Replace wait-on-timeout with explicit timeout 2018-07-09 13:56:42 +01:00
igt_flush_test.h
igt_reset.c drm/i915/selftests: Add tests for GT and engine workaround verification 2018-12-04 12:23:19 +00:00
igt_reset.h drm/i915/selftests: Add tests for GT and engine workaround verification 2018-12-04 12:23:19 +00:00
igt_spinner.c drm/i915/selftests: Reorder request allocation vs vma pinning 2018-12-04 17:53:19 +00:00
igt_spinner.h drm/i915/selftests: Extract spinner code 2018-11-30 15:09:00 +00:00
igt_wedge_me.h drm/i915/selftests: Add a safety net to live_workarounds 2018-07-11 14:13:56 +01:00
intel_breadcrumbs.c
intel_engine_cs.c
intel_guc.c drm/i915/selftests: Mark up rpm wakerefs 2019-01-14 16:18:20 +00:00
intel_hangcheck.c drm/i915/selftests: Mark up rpm wakerefs 2019-01-14 16:18:20 +00:00
intel_lrc.c drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
intel_uncore.c drm/i915: Restore user forcewake domains across suspend 2018-08-15 13:41:05 -07:00
intel_workarounds.c drm/i915: Pull all the reset functionality together into i915_reset.c 2019-01-16 22:45:31 +00:00
lib_sw_fence.c
lib_sw_fence.h
mock_context.c drm/i915: Reduce context HW ID lifetime 2018-09-05 11:58:08 +01:00
mock_context.h
mock_dmabuf.c
mock_dmabuf.h
mock_drm.c
mock_drm.h
mock_engine.c drm/i915/selftests: Allocate mock ring/timeline per context 2019-01-18 20:39:27 +00:00
mock_engine.h
mock_gem_device.c drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
mock_gem_device.h
mock_gem_object.h
mock_gtt.c drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
mock_gtt.h drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
mock_request.c
mock_request.h
mock_timeline.c
mock_timeline.h
mock_uncore.c
mock_uncore.h
scatterlist.c