summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-13 17:15:52 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-13 20:46:47 +0000
commitf40a7b7558ef95bbd869b3c8268c0b2a239087c9 (patch)
treedf48ea65328aec16795f2b0e3901cec794ea4521 /drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
parent92fdf8d4a39a9545c27b7ec2d5b138ff8cde5f91 (diff)
drm/i915: Initial selftests for exercising eviction
Very simple tests to just ask eviction to find some free space in a full GTT and one with some available space. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-41-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_mock_selftests.h')
-rw-r--r--drivers/gpu/drm/i915/selftests/i915_mock_selftests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
index b450eab7e6e1..cfbd3f5486ae 100644
--- a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
+++ b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
@@ -16,3 +16,4 @@ selftest(requests, i915_gem_request_mock_selftests)
selftest(objects, i915_gem_object_mock_selftests)
selftest(dmabuf, i915_gem_dmabuf_mock_selftests)
selftest(vma, i915_vma_mock_selftests)
+selftest(evict, i915_gem_evict_mock_selftests)