[Bug 96743] [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 25 07:42:13 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=96743

--- Comment #21 from Topi Pohjolainen <topi.pohjolainen at intel.com> ---
Okay, disabling these two optimizations gives the gpu hangs on HSW even on top
of current upstream:

diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index f863085..5d83ce3 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -470,7 +470,6 @@ nir_optimize(nir_shader *nir, const struct brw_compiler
*compiler,
    do {
       progress = false;
       OPT_V(nir_lower_vars_to_ssa);
-      OPT(nir_opt_copy_prop_vars);

       if (is_scalar) {
          OPT(nir_lower_alu_to_scalar);
@@ -498,9 +497,6 @@ nir_optimize(nir_shader *nir, const struct brw_compiler
*compiler,
          OPT(nir_opt_dce);
       }
       OPT(nir_opt_if);
-      if (nir->options->max_unroll_iterations != 0) {
-         OPT(nir_opt_loop_unroll, indirect_mask);
-      }
       OPT(nir_opt_remove_phis);
       OPT(nir_opt_undef);
       OPT_V(nir_lower_doubles, nir_lower_drcp |

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170325/ffb58f9a/attachment-0001.html>


More information about the intel-3d-bugs mailing list