From: Eric Anholt Date: Thu, 7 Feb 2008 20:09:16 +0000 (-0800) Subject: [965] Flush icache on new batch, not just new context. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70908a793b7755c973fe024844185ff9e14924ea;p=mesa.git [965] Flush icache on new batch, not just new context. This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit. --- diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index 8277da7dd30..450d62c71f8 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -394,7 +394,7 @@ static void upload_pipe_control(struct brw_context *brw) const struct brw_tracked_state brw_pipe_control = { .dirty = { .mesa = 0, - .brw = BRW_NEW_CONTEXT, + .brw = BRW_NEW_BATCH, .cache = 0 }, .update = upload_pipe_control