summaryrefslogtreecommitdiff
path: root/src/i915_render.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-05-18 09:53:36 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-05-18 09:53:36 +0800
commit16e50a91dd8b3676e8ce06052c549ab27e6843b7 (patch)
treeaa2402b5aa11ea29086a3b6ba00f602695d04156 /src/i915_render.c
parent12a9fcfe1b25cee850380d8ce11ef11cde9aaacb (diff)
EXA: remove a flush cmd in i915 render code
Diffstat (limited to 'src/i915_render.c')
-rw-r--r--src/i915_render.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/i915_render.c b/src/i915_render.c
index 4d422428..5b2ed891 100644
--- a/src/i915_render.c
+++ b/src/i915_render.c
@@ -375,7 +375,7 @@ i915_prepare_composite(int op, PicturePtr pSrcPicture,
{
CARD32 ss2;
- BEGIN_LP_RING(18);
+ BEGIN_LP_RING(16);
/* color buffer
* XXX: Need to add USE_FENCE if we ever tile the X Server's pixmaps or
* visible screen.
@@ -408,10 +408,6 @@ i915_prepare_composite(int op, PicturePtr pSrcPicture,
OUT_RING(S6_CBUF_BLEND_ENABLE | S6_COLOR_WRITE_ENABLE |
(BLENDFUNC_ADD << S6_CBUF_BLEND_FUNC_SHIFT) | blendctl);
- /* issue a flush */
- OUT_RING(MI_FLUSH | MI_WRITE_DIRTY_STATE | MI_INVALIDATE_MAP_CACHE);
- OUT_RING(MI_NOOP);
-
/* draw rect is unconditional */
OUT_RING(_3DSTATE_DRAW_RECT_CMD);
OUT_RING(0x00000000);