]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit9e89f9ee3b16cca56bed5fa45e63f422d3ac2c3a
treebc7ad5c7c8df635166295cbc3b72ef360d9e601a
parentaa149431279166025bc457007e5a1fdcb4d2db9b
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: 894ccebee2b0 ("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