From cabc93c5adc9ea62be901621eff5ce4cb9574791 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 3 Oct 2014 10:01:54 -0700 Subject: [PATCH] i965/compaction: Disable compaction on SNB temporarily. Will investigate after XDC. --- src/mesa/drivers/dri/i965/brw_eu_compact.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c index e660ad340b8..048f43020f8 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_compact.c +++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c @@ -1311,6 +1311,12 @@ brw_compact_instructions(struct brw_compile *p, int start_offset, */ int old_ip[(p->next_insn_offset - start_offset) / sizeof(brw_compact_inst)]; + /* FIXME: Mark reported that SNB GT2 (GT1 appears fine) is hanging after + * commit a36631b74. + */ + if (brw->gen == 6) + return; + if (brw->gen == 4 && !brw->is_g4x) return; -- 2.30.2