[PATCH 3/3] inv

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 27 21:39:37 UTC 2018


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

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index add1fe7aeb93..9ba4c3208856 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -114,6 +114,7 @@ static void gen6_ggtt_invalidate(struct drm_i915_private *dev_priv)
 	 * Note that as an uncached mmio write, this will flush the
 	 * WCB of the writes into the GGTT before it triggers the invalidate.
 	 */
+	wmb();
 	I915_WRITE(GFX_FLSH_CNTL_GEN6, GFX_FLSH_CNTL_EN);
 }
 
-- 
2.20.0.rc1



More information about the Intel-gfx-trybot mailing list