]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e87a8afc0bf7a1201a8c6fb1d98f3c224335ce4
treed632a840aea901d86f219466d2b8d5490fc11eda
parent19cff6b171ba03a4c6e0c1bd25a01b8f9d5ab846
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