From: Topi Pohjolainen Date: Wed, 15 Mar 2017 19:31:07 +0000 (+0200) Subject: i965/gen8+: Do full stall when switching pipeline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd25d9670b466043cdb5d9668f82accbd587c889;p=mesa.git i965/gen8+: Do full stall when switching pipeline just as earlier gens do. CC: "17.0 13.0" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96743 Reviewed-by: Jason Ekstrand Signed-off-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index 84f0c188b87..1cf6b04e05f 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -843,8 +843,9 @@ brw_emit_select_pipeline(struct brw_context *brw, enum brw_pipeline pipeline) brw->ctx.NewDriverState |= BRW_NEW_CC_STATE; } + } - } else if (brw->gen >= 6) { + if (brw->gen >= 6) { /* From "BXML » GT » MI » vol1a GPU Overview » [Instruction] * PIPELINE_SELECT [DevBWR+]": *