diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 17:15:53 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-13 20:46:48 +0000 |
commit | e619cd0d223d55b69732d0d61d1c497e506670ac (patch) | |
tree | 5e286a53faa42f7bcc2dbeb14ae5710aaf0f1beb /drivers/gpu/drm/i915/selftests/i915_mock_selftests.h | |
parent | f40a7b7558ef95bbd869b3c8268c0b2a239087c9 (diff) | |
download | talos-op-linux-e619cd0d223d55b69732d0d61d1c497e506670ac.tar.gz talos-op-linux-e619cd0d223d55b69732d0d61d1c497e506670ac.zip |
drm/i915: Add mock exercise for i915_gem_gtt_reserve
i915_gem_gtt_reserve should put the node exactly as requested in the
GTT, evicting as required.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-42-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.h | 1 |
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 cfbd3f5486ae..be9a9ebf5692 100644 --- a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h +++ b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h @@ -17,3 +17,4 @@ 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) +selftest(gtt, i915_gem_gtt_mock_selftests) |