Module: Mesa Branch: master Commit: ff74c2ced5e7234902d43712a3759f91fd534a91 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff74c2ced5e7234902d43712a3759f91fd534a91
Author: Chris Wilson <ch...@chris-wilson.co.uk> Date: Sat Jun 5 09:32:28 2010 +0100 i915: Inhibit render cache flush when changing drawing rectangle offset. Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> --- src/mesa/drivers/dri/i915/i915_vtbl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c b/src/mesa/drivers/dri/i915/i915_vtbl.c index 0a93e64..974ab3e 100644 --- a/src/mesa/drivers/dri/i915/i915_vtbl.c +++ b/src/mesa/drivers/dri/i915/i915_vtbl.c @@ -622,7 +622,7 @@ i915_set_draw_region(struct intel_context *intel, } /* When changing drawing rectangle offset, an MI_FLUSH is first required. */ - state->Buffer[I915_DESTREG_DRAWRECT0] = MI_FLUSH; + state->Buffer[I915_DESTREG_DRAWRECT0] = MI_FLUSH | INHIBIT_FLUSH_RENDER_CACHE; state->Buffer[I915_DESTREG_DRAWRECT1] = _3DSTATE_DRAWRECT_INFO; state->Buffer[I915_DESTREG_DRAWRECT2] = 0; state->Buffer[I915_DESTREG_DRAWRECT3] = (draw_y << 16) | draw_x; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit