Commit 5a7c7575 authored by Chris Wilson's avatar Chris Wilson

i915/gem_tiled_w[bc]: Tighten computation of upper bound

Fix the off-by-one in computing the last page that caused us to try and
mmap the page beyond the end of the object.
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Antonio Argenziano's avatarAntonio Argenziano <antonio.argenziano@intel.com>
parent de53202a
Pipeline #24184 passed with stages
in 3 minutes and 47 seconds