From: Chris Wilson <chris@chris-wilson.co.uk>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] RFT gem_mmap_gtt/gdg Throw in a wmb
Date: Thu, 10 May 2018 08:47:31 +0100 [thread overview]
Message-ID: <20180510074731.9829-1-chris@chris-wilson.co.uk> (raw)
---
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();
err_fence:
i915_vma_unpin_fence(vma);
--
2.17.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2018-05-10 7:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-10 7:47 Chris Wilson [this message]
2018-05-10 8:04 ` ✗ Fi.CI.CHECKPATCH: warning for RFT gem_mmap_gtt/gdg Throw in a wmb Patchwork
2018-05-10 8:24 ` ✓ Fi.CI.BAT: success " Patchwork
2018-05-10 8:26 ` [PATCH] " Chris Wilson
2018-05-10 9:39 ` ✓ Fi.CI.IGT: success for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180510074731.9829-1-chris@chris-wilson.co.uk \
--to=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.