]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Exercise crossing pot boundaries in the GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:57 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:46:52 +0000 (20:46 +0000)
commit10ad9498e304b1034a963f93fd22908cdb9c11a2
tree9e6e962d196b4fe6158bd19f818dd1308e629861
parentfaab21a7c5f349e83f0224efca0b145190f7fa5c
drm/i915: Exercise crossing pot boundaries in the GTT

As the page-table trees within the GTT are naturally aligned to
power-of-two boundaries, by inserting an object that crosses a
power-of-two (and the power-of-two intervals) we can quickly check the
code for errors in switching between levels in the tree.

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