[PATCH] fence-flush

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 26 15:18:13 UTC 2018


---
 drivers/gpu/drm/i915/i915_gem_fence_reg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_gem_fence_reg.c b/drivers/gpu/drm/i915/i915_gem_fence_reg.c
index 012250f25255..4396e38741a3 100644
--- a/drivers/gpu/drm/i915/i915_gem_fence_reg.c
+++ b/drivers/gpu/drm/i915/i915_gem_fence_reg.c
@@ -192,6 +192,7 @@ static void fence_write(struct drm_i915_fence_reg *fence,
 	 * the mb() inside the fault handlers (i915_gem_release_mmaps)
 	 * and explicitly managed for internal users.
 	 */
+	i915_gem_chipset_flush(fence->i915);
 
 	if (IS_GEN2(fence->i915))
 		i830_write_fence_reg(fence, vma);
-- 
2.15.1



More information about the Intel-gfx-trybot mailing list