projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a294aa7
)
i915: use a drm memory barrier define
author
Dave Airlie
<airlied@redhat.com>
Wed, 24 Oct 2007 00:13:15 +0000
(11:13 +1100)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 24 Oct 2007 00:13:15 +0000
(11:13 +1100)
shared-core/i915_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_dma.c
b/shared-core/i915_dma.c
index
f0fd603
..
9bc7431
100644
(file)
--- a/
shared-core/i915_dma.c
+++ b/
shared-core/i915_dma.c
@@
-1045,7
+1045,7
@@
static int i915_execbuffer(struct drm_device *dev, void *data,
goto out_free;
/* make sure all previous memory operations have passed */
-
asm volatile("mfence":::"memory"
);
+
DRM_MEMORYBARRIER(
);
/* submit buffer */
batch->start = buffers[num_buffers-1]->offset;