projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1abd02e
)
drm/i915: drop the double-OP_STOREDW usage in blt_ring_flush
author
Daniel Vetter
<
[email protected]
>
Sun, 4 Nov 2012 11:24:47 +0000
(12:24 +0100)
committer
Daniel Vetter
<
[email protected]
>
Sun, 11 Nov 2012 22:51:42 +0000
(23:51 +0100)
This has been introduced in "drm/i915: TLB invalidation with
MI_FLUSH_DW requires a post-sync op".
Reported-by: Fengguang Wu <
[email protected]
>
Reported-by: Chris Wilson <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_ringbuffer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index f7617a4e005f419487365a1a78be3e9a88845805..a035ac223fb0dbe5f165003b659c64488c79e592 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/
drivers/gpu/drm/i915/intel_ringbuffer.c
@@
-1475,7
+1475,7
@@
static int blt_ring_flush(struct intel_ring_buffer *ring,
*/
if (invalidate & I915_GEM_DOMAIN_RENDER)
cmd |= MI_INVALIDATE_TLB | MI_FLUSH_DW_STORE_INDEX |
- MI_FLUSH_DW_OP_STOREDW
| MI_FLUSH_DW_OP_STOREDW
;
+ MI_FLUSH_DW_OP_STOREDW;
intel_ring_emit(ring, cmd);
intel_ring_emit(ring, I915_GEM_HWS_SCRATCH_ADDR | MI_FLUSH_DW_USE_GTT);
intel_ring_emit(ring, 0);