<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 - [KBL] igt/gem_reset_stats regression for some subtests"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94585">94585</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[KBL] igt/gem_reset_stats regression for some subtests
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

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

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

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

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

        <tr>
          <th>Reporter</th>
          <td>olivierx.berthier@intel.com
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=122370" name="attach_122370" title="dmesg">attachment 122370</a> <a href="attachment.cgi?id=122370&action=edit" title="dmesg">[details]</a></span>
dmesg

Regression:
-----------
Yes, the subtests were pass with the kernel drm-intel-nightly 4.5.0-rc7_dd7b012
and intel-gpu-tools-1.14-26-g174a06b

Setup:
------
Hardware
Platform: KABY LAKE-U 
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1 
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 15.10 64 bits
Kernel drm-intel-nightly 4.5.0-fc881eb from
<a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
  commit fc881ebd9c3c26919c7d1113f8bf7014e1a05563
  Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
  Date:   Tue Mar 15 14:11:45 2016 +0100
  drm-intel-nightly: 2016y-03m-15d-13h-10m-41s UTC integration manifest

drm: libdrm-2.4.67-7-g49041c3
cairo: 1.15.2 db8a7f1 
intel-gpu-tool: intel-gpu-tools-1.14-62-g8f6ed9e

Steps:
------
# ./gem_reset_stats --r ban-blt

Actual result:
--------------
The test fail. Same thing for the subtests :
ban-blt
ban-bsd
ban-default
ban-render
ban-vebox

Expected result:
----------------
Subtests are Pass

Program output:
---------------

IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.5.0-nightly+ x86_64)
retrying for ban (9)
(gem_reset_stats:1195) CRITICAL: Test assertion failure function test_ban, file
gem_reset_stats.c:368:
(gem_reset_stats:1195) CRITICAL: Failed assertion: rs_bad.batch_pending ==
pending_count
(gem_reset_stats:1195) CRITICAL: error: 1 != 2
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main773+0x18da]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf0]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest ban-bsd failed.
**** DEBUG ****
(gem_reset_stats:1195) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1195) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1195) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_reset_stats:1195) ioctl-wrappers-DEBUG: Test requirement passed:
gem_has_ring(fd, ring)
(gem_reset_stats:1195) ioctl-wrappers-DEBUG: Test requirement passed:
has_ban_period
(gem_reset_stats:1195) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_reset_stats:1195) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring
== I915_EXEC_RENDER
(gem_reset_stats:1195) ioctl-wrappers-DEBUG: Test requirement passed:
gem_has_ring(fd, ring)
(gem_reset_stats:1195) ioctl-wrappers-DEBUG: Test requirement passed:
has_ban_period
(gem_reset_stats:1195) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_reset_stats:1195) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring
== I915_EXEC_RENDER
(gem_reset_stats:1195) INFO: retrying for ban (9)
(gem_reset_stats:1195) ioctl-wrappers-DEBUG: Test requirement passed:
gem_has_ring(fd, ring)
(gem_reset_stats:1195) ioctl-wrappers-DEBUG: Test requirement passed:
has_ban_period
(gem_reset_stats:1195) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_reset_stats:1195) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring
== I915_EXEC_RENDER
(gem_reset_stats:1195) CRITICAL: Test assertion failure function test_ban, file
gem_reset_stats.c:368:
(gem_reset_stats:1195) CRITICAL: Failed assertion: rs_bad.batch_pending ==
pending_count
(gem_reset_stats:1195) CRITICAL: error: 1 != 2
****  END  ****
Subtest ban-bsd: FAIL (14.339s)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>