Revert "i965/compaction: Disable compaction on SNB temporarily."
authorMatt Turner <mattst88@gmail.com>
Thu, 30 Oct 2014 04:38:39 +0000 (21:38 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 30 Oct 2014 04:38:39 +0000 (21:38 -0700)
This reverts commit cabc93c5adc9ea62be901621eff5ce4cb9574791.

Mark thinks the failures on the SNB GT2 in the lab are actually because
of faulty hardware, not instruction compaction. The GT1 didn't see any
problems after changes to the compaction code.

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

index 048f430..e660ad3 100644 (file)
@@ -1311,12 +1311,6 @@ 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;