drm/i915/selftests: exercise_ggtt may have nothing to do
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Nov 2017 15:25:58 +0000 (15:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 16 Nov 2017 15:47:17 +0000 (15:47 +0000)
commit4fe95b042d9d36744f6848069a92759c10dd2a0e
tree0d5aa2457677a71164f615e27fe0177ab01932f9
parent738a8143866c4cdbe4c008f1583a0c55338266b2
drm/i915/selftests: exercise_ggtt may have nothing to do

When operating on the live_ggtt we have to find a usuable hole for our
test. It is possible for there to be no hole we can use, so initialise
the err to 0 for the early exit.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171115152558.31252-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c