drm/i915: Exercise filling the top/bottom portions of the ppgtt
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:39 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:54 +0000 (20:45 +0000)
commit8d28ba4568f4973b7fc5b12100a720979c16b4f0
treed632a840aea901d86f219466d2b8d5490fc11eda
parent1c42819a14a0868edd5d4b2db4594c1f7fc324d4
drm/i915: Exercise filling the top/bottom portions of the ppgtt

Allocate objects with varying number of pages (which should hopefully
consist of a mixture of contiguous page chunks and so coalesced sg
lists) and check that the sg walkers in insert_pages cope.

v2: Check both small <-> large

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