drm/i915: Exercise i915_vma_pin/i915_vma_insert
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:46 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:46:41 +0000 (20:46 +0000)
commit782a3e9ef2051f2bec7c4fb255aa6a8f7c530da8
tree6655547309e4dcb3b27ca0eee99399fd85e2b2f3
parente3c7a1c5377e54f99689a18cb85ae7f3b633b58a
drm/i915: Exercise i915_vma_pin/i915_vma_insert

High-level testing of the struct drm_mm by verifying our handling of
weird requests to i915_vma_pin.

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-35-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/i915/i915_vma.h
drivers/gpu/drm/i915/selftests/i915_vma.c