]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove the rounding down of the gen4+ fence region
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jan 2017 16:16:12 +0000 (16:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jan 2017 08:12:21 +0000 (08:12 +0000)
commitf08995287f623e4fa76949978fe85c2b1485a406
tree72f33973dfbd162320fff13e2a480ad3eff3ec9a
parentc73f5783f4a4198baff2e85b191dc554059c1245
drm/i915: Remove the rounding down of the gen4+ fence region

Restricting the fence to the end of the previous tile-row breaks access
to the final portion of the object. On gen2/3 we employed lazy fencing
to pad out the fence with scratch page to provide access to the tail,
and now we also pad out the object on gen4+ we can apply the same fix.

Fixes: 55ebb9a24994 ("drm/i915: Only fence tiled region of object.")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170109161613.11881-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_fence_reg.c