]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Advance start address on crossing PML (48b ppgtt) boundary
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 25 Feb 2017 18:11:22 +0000 (18:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 25 Feb 2017 18:54:38 +0000 (18:54 +0000)
commitff688754562101b75c00e579fa34e2167302bd1d
treebc7ad5c7c8df635166295cbc3b72ef360d9e601a
parent338b576953f6d6b50dff5a28074fa746b912d4e7
drm/i915: Advance start address on crossing PML (48b ppgtt) boundary

When advancing onto the next 4th level page table entry, we need to
reset our indices to 0. Currently we restart from the original address
which means we start with an offset into the next PML table.

Fixes: 1922b24c25b5 ("drm/i915: Micro-optimise gen8_ppgtt_insert_entries()")
Reported-by: Matthew Auld <matthew.william.auld@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99948
Testcase: igt/drv_selftest/live_gtt
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Tested-by: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170225181122.4788-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c