Re: [Intel-gfx] [PATCH 1/5] drm/i915/gtt: Move wmb inside ggtt_invalidate

2018-05-07 Thread Chris Wilson
Quoting Mika Kuoppala (2018-05-07 17:52:18) > We use a pattern of wmb() along with ggtt_invalidate. > Move the wmb out from call sites into the ggtt_invalidate > as it is part of invalidation. > > Cc: Chris Wilson > Cc: Matthew Auld > Signed-off-by: Mika Kuoppala If we take this and the last w

[Intel-gfx] [PATCH 1/5] drm/i915/gtt: Move wmb inside ggtt_invalidate

2018-05-07 Thread Mika Kuoppala
We use a pattern of wmb() along with ggtt_invalidate. Move the wmb out from call sites into the ggtt_invalidate as it is part of invalidation. Cc: Chris Wilson Cc: Matthew Auld Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_gem_gtt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 d