<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BDW] GPU hang in Shogun2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92234">92234</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW] GPU hang in Shogun2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pavel.ondracka@email.cz
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mattst88@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Originally posted in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [ivb blorp?] GPU hang in witcher.EXE"
   href="show_bug.cgi?id=91730">bug 91730</a>, sorry about that...

When starting Total War: Shogun2, GPU hangs, program exits and
"intel_do_flush_locked failed: Input/output error" is printed in the terminal.

I've managed to bisect it to:
commit f5cf74d8ba8ce30b9d53b2198e5122ed72f1dcff
Author: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>>
Date:   Tue May 5 20:25:07 2015 -0700

    nir: Recognize (a < c || b < c) as min(a, b) < c.

    ... and (a >= c) || (b >= c) as max(a, b) >= c.

    Similar to commit 97e6c1b9.

    total instructions in shared programs: 6182276 -> 6182180 (-0.00%)
    instructions in affected programs:     6400 -> 6304 (-1.50%)
    helped:                                68
    HURT:                                  4

    Reviewed-by: Jordan Justen <<a href="mailto:jordan.l.justen@intel.com">jordan.l.justen@intel.com</a>>
    Reviewed-by: Glenn Kennard <<a href="mailto:glenn.kennard@gmail.com">glenn.kennard@gmail.com</a>>

It can be reproduced with this trace: <a href="http://pavel.ondracka.cz/Shogun2.trace">http://pavel.ondracka.cz/Shogun2.trace</a>

My system info:
GPU: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
Mesa: c0722be9f58ef89dae98d8c459ec4f9589f97748
kernel: 4.1.7-200.fc22.x86_64
libdrm: 94ecdcb8b11dd3eb6b047ad72030d775014aadee
xf86-video-intel: 679ee12079a7d2682d41506b81973c7c7d4fa1d8 (sna+dri3)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>