i965/compaction: Disable compaction on SNB temporarily.
authorMatt Turner <mattst88@gmail.com>
Fri, 3 Oct 2014 17:01:54 +0000 (10:01 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 3 Oct 2014 17:41:57 +0000 (10:41 -0700)
Will investigate after XDC.

src/mesa/drivers/dri/i965/brw_eu_compact.c

index e660ad340b8509d5b309b9cff0e496ad79f7ef7d..048f43020f834782ebd92c34ea7a77fd32d6f3ce 100644 (file)
@@ -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;