drm/i915: Add initial selftests for i915_gem_gtt
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:38 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:52 +0000 (20:45 +0000)
commit1c42819a14a0868edd5d4b2db4594c1f7fc324d4
tree624c48b159f1951cc28b4a5bffef49e11e416cc4
parentced01afdf672d6ceab71f14e0aefb79b914ddd34
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
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/i915_live_selftests.h