summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_gtt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-13 20:15:38 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-13 23:45:52 +0300
commit1c42819a14a0868edd5d4b2db4594c1f7fc324d4 (patch)
tree624c48b159f1951cc28b4a5bffef49e11e416cc4 /drivers/gpu/drm/i915/i915_gem_gtt.c
parentced01afdf672d6ceab71f14e0aefb79b914ddd34 (diff)
downloadlinux-1c42819a14a0868edd5d4b2db4594c1f7fc324d4.tar.xz
drm/i915: Add initial selftests for i915_gem_gtt
Simple starting point for adding selftests for i915_gem_gtt, first try creating a ppGTT and filling it. 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-27-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_gtt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 520bcf63d271..9daea3cd9cdc 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -3760,4 +3760,5 @@ int i915_gem_gtt_insert(struct i915_address_space *vm,
#if IS_ENABLED(CONFIG_DRM_I915_SELFTEST)
#include "selftests/mock_gtt.c"
+#include "selftests/i915_gem_gtt.c"
#endif