]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Manipulate the Global GTT size using I915_GTT_PAGE_SIZE
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 08:45:45 +0000 (08:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Feb 2017 13:45:29 +0000 (13:45 +0000)
commitc44d5e8f7aba1a1e3a2a81aa460cfc2d71fe93ac
tree3979c4628703c615942427d364ecd36458d339f6
parentbb27262d7ac11fa3fa5060e1a6b9d37ef9aa7b1f
drm/i915: Manipulate the Global GTT size using I915_GTT_PAGE_SIZE

I incorrectly converted the exclusion of the last 4096 bytes (that avoids
any potential prefetching past the end of the GTT) to PAGE_SIZE and not
to I915_GTT_PAGE_SIZE as it should be.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170206084547.27921-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_gem_gtt.c