linux/drivers/gpu/drm/i915/selftests
Chris Wilson 3ec0af7f22 drm/i915: Supply the engine-id for our mock_engine()
In the original selftest, we didn't care what the engine->id was, just
that it could uniquely identify it. Later though, we started tracking
the mock engines in the fixed size arrays around the drm_i915_private and
so we now require their indices to be correct. This becomes an issue when
using the standalone harness which runs all available tests at module load,
and so we quickly assign an out-of-bounds index to an engine as we
reallocate the mock GEM device between tests. It doesn't show up in
igt/drv_selftest as that runs each subtest individually.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102045
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170809163930.26470-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
2017-08-10 12:18:35 +01:00
..
huge_gem_object.c drm/i915: Store i915_gem_object_is_coherent() as a bit next to cache-dirty 2017-06-16 14:52:27 +01:00
huge_gem_object.h
i915_gem_coherency.c
i915_gem_context.c drm/i915/selftests: Silence compiler warning in igt_ctx_exec 2017-05-24 12:01:40 +01:00
i915_gem_dmabuf.c drm/i915: Fix an error checking test 2017-06-27 14:30:56 +01:00
i915_gem_evict.c drm/i915: Eliminate lots of iterations over the execobjects array 2017-06-16 16:54:05 +01:00
i915_gem_gtt.c drm/i915: pass the vma to insert_entries 2017-06-22 16:48:50 +01:00
i915_gem_object.c
i915_gem_request.c
i915_gem_timeline.c
i915_live_selftests.h
i915_mock_selftests.h drm/i915: Import the kfence selftests for i915_sw_fence 2017-05-17 13:38:02 +01:00
i915_random.c
i915_random.h
i915_selftest.c
i915_sw_fence.c drm/i915: Check for allocation failure 2017-05-19 20:36:32 +01:00
i915_syncmap.c
i915_vma.c drm/i915: Allow contexts to be unreferenced locklessly 2017-06-20 17:13:47 +01:00
intel_breadcrumbs.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00
intel_hangcheck.c drm/i915/selftests: Retarget igt_render_engine_reset_fallback() 2017-08-04 19:08:30 +01:00
intel_uncore.c
mock_context.c drm/i915/selftests: Exercise independence of per-engine resets 2017-07-27 09:38:48 +02:00
mock_context.h drm/i915/selftests: Exercise independence of per-engine resets 2017-07-27 09:38:48 +02:00
mock_dmabuf.c
mock_dmabuf.h
mock_drm.c
mock_drm.h
mock_engine.c drm/i915: Supply the engine-id for our mock_engine() 2017-08-10 12:18:35 +01:00
mock_engine.h drm/i915: Supply the engine-id for our mock_engine() 2017-08-10 12:18:35 +01:00
mock_gem_device.c drm/i915: Supply the engine-id for our mock_engine() 2017-08-10 12:18:35 +01:00
mock_gem_device.h
mock_gem_object.h
mock_gtt.c drm/i915: pass the vma to insert_entries 2017-06-22 16:48:50 +01:00
mock_gtt.h
mock_request.c
mock_request.h
mock_timeline.c
mock_timeline.h
mock_uncore.c
mock_uncore.h
scatterlist.c