<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BDW]Piglit spec_glsl-1.30_execution_tex-miplevel-selection_textureGrad_1DArray cases intel_do_flush_locked failed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81450">81450</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW]Piglit spec_glsl-1.30_execution_tex-miplevel-selection_textureGrad_1DArray cases intel_do_flush_locked failed
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg CVS
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=102957" name="attach_102957" title="dmesg">attachment 102957</a> <a href="attachment.cgi?id=102957&action=edit" title="dmesg">[details]</a></span>
dmesg

System Environment:
--------------------------
Platform: BDW
Libdrm:       
(master)libdrm-2.4.54-19-gc0b34dca2632a774249cfa3b969c3f7ce9df33e1
Mesa:        (master)a2de6562783ea87ca5fbcb67dbd36c2f345f2054
Xserver:   
(master)xorg-server-1.15.99.902-121-g2f5cf9ff9a0f713b7e038636484c77f113a5f10a
Xf86_video_intel:(master)2.99.912-229-ge0523ade28fa0da00d0bd70d8b22d53ed4e49f73
Libva:        (master)c61d8c6ce9ffc27320e9e177c1e1123d5f1b5014
Libva_intel_driver:(master)c5cb17ea86f0065a939d3636dd26651c93d497c8
Kernel  (drm-intel-nightly)77820625217fa547586f00be7cae56e5c5e255bf

Bug detailed description:
------------------------- 
Run new piglit case
spec_glsl-1.30_execution_tex-miplevel-selection_textureGrad_1DArray then run
following piglit case.
They will fail with intel_do_flush_locked failed: Input/output error.
Test drm-intel-fixes, drm-intel-next-queued and drm-intel-nightly kernel, they
all have this issue.
Fail piglit cases:
spec_glsl-1.30_execution_textureSize_fs-textureSize-isampler1D
spec_glsl-1.30_execution_textureSize_fs-textureSize-isampler1DArray
spec_glsl-1.30_execution_textureSize_fs-textureSize-isampler2D
spec_glsl-1.30_execution_textureSize_fs-textureSize-isampler2DArray
spec_glsl-1.30_execution_textureSize_fs-textureSize-isampler3D
spec_glsl-1.30_execution_textureSize_fs-textureSize-isamplerCube
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler1D
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler1DArray
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler1DArrayShadow
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler1DShadow
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler2D
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler2DArray
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler2DArrayShadow
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler2DShadow
spec_glsl-1.30_execution_textureSize_fs-textureSize-sampler3D
spec_glsl-1.30_execution_textureSize_fs-textureSize-samplerCube
spec_glsl-1.30_execution_textureSize_fs-textureSize-samplerCubeShadow
spec_glsl-1.30_execution_textureSize_fs-textureSize-usampler1D
spec_glsl-1.30_execution_textureSize_fs-textureSize-usampler1DArray
spec_glsl-1.30_execution_textureSize_fs-textureSize-usampler2D
spec_glsl-1.30_execution_textureSize_fs-textureSize-usampler2DArray
spec_glsl-1.30_execution_textureSize_fs-textureSize-usampler3D
spec_glsl-1.30_execution_textureSize_fs-textureSize-usamplerCube
spec_glsl-1.30_execution_textureSize_vs-textureSize-isampler1D
spec_glsl-1.30_execution_textureSize_vs-textureSize-isampler1DArray
spec_glsl-1.30_execution_textureSize_vs-textureSize-isampler2D
spec_glsl-1.30_execution_textureSize_vs-textureSize-isampler2DArray
spec_glsl-1.30_execution_textureSize_vs-textureSize-isampler3D
spec_glsl-1.30_execution_textureSize_vs-textureSize-isamplerCube
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler1D
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler1DArray
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler1DArrayShadow
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler1DShadow
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler2D
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler2DArray
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler2DArrayShadow
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler2DShadow
spec_glsl-1.30_execution_textureSize_vs-textureSize-sampler3D
spec_glsl-1.30_execution_textureSize_vs-textureSize-samplerCube
spec_glsl-1.30_execution_textureSize_vs-textureSize-samplerCubeShadow
spec_glsl-1.30_execution_textureSize_vs-textureSize-usampler1D
spec_glsl-1.30_execution_textureSize_vs-textureSize-usampler1DArray
spec_glsl-1.30_execution_textureSize_vs-textureSize-usampler2D
spec_glsl-1.30_execution_textureSize_vs-textureSize-usampler2DArray
spec_glsl-1.30_execution_textureSize_vs-textureSize-usampler3D
spec_glsl-1.30_execution_textureSize_vs-textureSize-usamplerCube
spec_glsl-1.30_execution_uniform-initializer_fs-uint
spec_glsl-1.30_execution_uniform-initializer_fs-uint-array
spec_glsl-1.30_execution_uniform-initializer_fs-uint-from-const
spec_glsl-1.30_execution_uniform-initializer_fs-uint-set-by-API
spec_glsl-1.30_execution_uniform-initializer_fs-uint-set-by-other-stage
spec_glsl-1.30_execution_uniform-initializer_vs-uint
spec_glsl-1.30_execution_uniform-initializer_vs-uint-array
spec_glsl-1.30_execution_uniform-initializer_vs-uint-from-const
spec_glsl-1.30_execution_uniform-initializer_vs-uint-set-by-API
spec_glsl-1.30_execution_uniform-initializer_vs-uint-set-by-other-stage
spec_glsl-1.30_execution_varying-packing-mixed-types
spec_glsl-1.30_execution_vertexid-beginend
spec_glsl-1.30_execution_vertexid-drawarrays
spec_glsl-1.30_execution_vertexid-drawelements
spec_glsl-1.30_execution_vs-attrib-ivec4-implied
spec_glsl-1.30_execution_vs-attrib-ivec4-precision
spec_glsl-1.30_execution_vs-attrib-uvec4-implied
spec_glsl-1.30_execution_vs-attrib-uvec4-precision
spec_glsl-1.30_execution_vs-decrement-int
spec_glsl-1.30_execution_vs-decrement-uint
spec_glsl-1.30_execution_vs-float-uint-conversion
spec_glsl-1.30_execution_vs-increment-int
spec_glsl-1.30_execution_vs-increment-uint
spec_glsl-1.30_execution_vs-isinf-vec2
spec_glsl-1.30_execution_vs-isinf-vec3
spec_glsl-1.30_execution_vs-isinf-vec4
spec_glsl-1.30_execution_vs-isnan-vec2
spec_glsl-1.30_execution_vs-isnan-vec3
spec_glsl-1.30_execution_vs-isnan-vec4
spec_glsl-1.30_execution_vs-mix-bvec4-infnan
spec_glsl-1.30_execution_vs-multiply-const-ivec4
spec_glsl-1.30_execution_vs-multiply-const-uvec4
spec_glsl-1.30_execution_vs-multiply-ivec4-const
spec_glsl-1.30_execution_vs-multiply-uvec4-const
spec_glsl-1.30_execution_vs-textureLod-miplevels
spec_glsl-1.30_execution_vs-textureLod-miplevels-2
spec_glsl-1.30_execution_vs-textureSize-compare

New case spec_glsl-1.30_execution_tex-miplevel-selection_textureGrad_1DArray's
fail has 81405

Run bin/textureSize fs isampler1D -fbo -auto
output:
Probe color at (10,10)
  Expected: 0.650000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 0.000000 0.000000
Probe color at (30,10)
  Expected: 0.320000 0.000000 0.000000 1.000000
  Observed: 0.000000 0.000000 0.000000 0.000000
intel_do_flush_locked failed: Input/output error

Reproduce steps:
-------------------------
1. xinit
2. bin/tex-miplevel-selection textureGrad 1DArray -fbo -auto
3. bin/textureSize fs isampler1D -fbo -auto</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>