drm/i915: Test exhaustion of the mmap space
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:31 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:45 +0000 (20:45 +0000)
commit3d81d589d6e3c89b687771074f65cb8f3b59ccf3
treeb47aca19d9edbbec5fb405d064d7f60a0a60180a
parent48d898172075e55cb6fdea52410795b4aeff1352
drm/i915: Test exhaustion of the mmap space

An unlikely error condition that we can simulate by stealing most of
the range before trying to insert new objects.

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