linux/drivers/gpu/drm/i915/selftests
Ville Syrjälä bb211c3d0c drm/i915/selftests: Add live vma selftest
Add a live selftest to excercise rotated/remapped vmas. We simply
write through the rotated/remapped vma, and confirm that the data
appears in the right page when read through the normal vma.

Not sure what the fallout of making all rotated/remapped vmas
mappable/fenceable would be, hence I just hacked it in the test.

v2: Grab rpm reference (Chris)
    GEM_BUG_ON(view.type not as expected) (Chris)
    Allow CAN_FENCE for rotated/remapped vmas (Chris)
    Update intel_plane_uses_fence() to ask for a fence
    only for normal vmas on gen4+
v3: Deal with intel_wakeref_t
v4: Rebase

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509122159.24376-4-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
2019-05-20 18:04:47 +03:00
..
huge_gem_object.c
huge_gem_object.h
huge_pages.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
i915_active.c drm/i915: Pass intel_context to i915_request_create() 2019-04-24 22:25:35 +01:00
i915_gem.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
i915_gem_coherency.c drm/i915: Pass intel_context to i915_request_create() 2019-04-24 22:25:35 +01:00
i915_gem_context.c drm/i915: Skip unused contexts for context_barrier_task() 2019-04-29 11:12:37 +01:00
i915_gem_dmabuf.c drm/i915: Flush pages on acquisition 2019-03-21 17:28:12 +00:00
i915_gem_evict.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
i915_gem_gtt.c drm/i915: Create/destroy VM (ppGTT) for use with contexts 2019-03-22 13:12:32 +00:00
i915_gem_object.c drm/i915: Remove delay for idle_work 2019-05-07 17:40:19 +01:00
i915_live_selftests.h drm/i915/selftests: Add live vma selftest 2019-05-20 18:04:47 +03:00
i915_mock_selftests.h
i915_random.c
i915_random.h
i915_request.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
i915_selftest.c
i915_sw_fence.c
i915_syncmap.c
i915_timeline.c drm/i915: Pass intel_context to i915_request_create() 2019-04-24 22:25:35 +01:00
i915_vma.c drm/i915/selftests: Add live vma selftest 2019-05-20 18:04:47 +03:00
igt_flush_test.c drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
igt_flush_test.h
igt_gem_utils.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
igt_gem_utils.h drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
igt_live_test.c
igt_live_test.h
igt_reset.c drm/i915: Move GraphicsTechnology files under gt/ 2019-04-24 21:01:46 +01:00
igt_reset.h
igt_spinner.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
igt_spinner.h drm/i915: Move GraphicsTechnology files under gt/ 2019-04-24 21:01:46 +01:00
igt_wedge_me.h
intel_guc.c
intel_uncore.c drm/i915/selftests: Mark live_forcewake_ops as unreliable 2019-04-08 19:15:05 +01:00
lib_sw_fence.c
lib_sw_fence.h
mock_context.c drm/i915: Remove intel_context.active_link 2019-04-26 18:32:17 +01:00
mock_context.h
mock_dmabuf.c
mock_dmabuf.h
mock_drm.c
mock_drm.h
mock_gem_device.c drm/i915: Cancel retire_worker on parking 2019-05-07 17:40:19 +01:00
mock_gem_device.h
mock_gem_object.h
mock_gtt.c
mock_gtt.h
mock_request.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
mock_request.h
mock_timeline.c drm/i915: Consolidate the timeline->barrier 2019-04-08 17:04:12 +01:00
mock_timeline.h
mock_uncore.c drm/i915: switch uncore mmio funcs to use intel_uncore 2019-03-26 20:16:13 +00:00
mock_uncore.h drm/i915: make more uncore function work on intel_uncore 2019-03-20 21:12:42 +00:00
scatterlist.c