Message ID | 20180510074731.9829-1-chris@chris-wilson.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Quoting Chris Wilson (2018-05-10 08:47:31) > --- > drivers/gpu/drm/i915/i915_gem.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c > index 89bf5d67cb74..4c26e1fed6c6 100644 > --- a/drivers/gpu/drm/i915/i915_gem.c > +++ b/drivers/gpu/drm/i915/i915_gem.c > @@ -2089,6 +2089,7 @@ int i915_gem_fault(struct vm_fault *vmf) > GEM_BUG_ON(!obj->userfault_count); > > i915_vma_set_ggtt_write(vma); > + wmb(); gdg still fails. -Chris
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 89bf5d67cb74..4c26e1fed6c6 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -2089,6 +2089,7 @@ int i915_gem_fault(struct vm_fault *vmf) GEM_BUG_ON(!obj->userfault_count); i915_vma_set_ggtt_write(vma); + wmb(); err_fence: i915_vma_unpin_fence(vma);