<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] gem_evict_everything major-interruptible and major-normal fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94146">94146</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[KBL] gem_evict_everything major-interruptible and major-normal fail
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>christophe.prigent@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=121744" name="attach_121744" title="kern.log">attachment 121744</a> <a href="attachment.cgi?id=121744&action=edit" title="kern.log">[details]</a></span>
kern.log

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-rc3_d9bd337 from
<a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
commit d9bd337b4b2d46f73005fcdf0e7049e7f8ed5c04
Author: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>
Date: Tue Feb 9 17:43:10 2016 +0200
drm-intel-nightly: 2016y-02m-09d-15h-42m-46s UTC integration manifest
drm: tag libdrm-2.4.66-33-gf884af9
intel-gpu-tool: intel-gpu-tools-1.13-195-g8d441ee

Steps:
-----
1. Execute commands:
cd <...>/intel-gpu-tools/tests
./gem_evict_everything --run-subtest major-interruptible
./gem_evict_everything --run-subtest major-normal

Actual result:
--------------
1. Tests are fail
Commands return:
root@KBLU1:/usr/local/src/intel-gpu-tools/tests# ./gem_evict_everything
--run-subtest major-interruptible
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.5.0-rc3-nightly+ x86_64)
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_create, file ioctl_wrappers.c:501:
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: Failed assertion:
drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 +
0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) << ((0+8)+8)))),
(&create)) == 0
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: Last errno: 22, Invalid
argument
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: error: -1 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_create+0x77]
  #2 [major_evictions.constprop.3+0x4c]
  #3 [__real_main183+0x41f]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest major-interruptible failed.
**** DEBUG ****
(gem_evict_everything:1299) intel-os-DEBUG: Checking 4 surfaces of size 0 bytes
(total 4,096) against RAM
(gem_evict_everything:1299) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_evict_everything:1299) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_create, file ioctl_wrappers.c:501:
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: Failed assertion:
drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 +
0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) << ((0+8)+8)))),
(&create)) == 0
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: Last errno: 22, Invalid
argument
(gem_evict_everything:1299) ioctl-wrappers-CRITICAL: error: -1 != 0
****  END  ****
Subtest major-interruptible: FAIL (0.049s)
root@KBLU1:/usr/local/src/intel-gpu-tools/tests#
root@KBLU1:/usr/local/src/intel-gpu-tools/tests#
root@KBLU1:/usr/local/src/intel-gpu-tools/tests#
root@KBLU1:/usr/local/src/intel-gpu-tools/tests#
root@KBLU1:/usr/local/src/intel-gpu-tools/tests# ./gem_evict_everything
--run-subtest major-normal
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.5.0-rc3-nightly+ x86_64)
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_create, file ioctl_wrappers.c:501:
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: Failed assertion:
drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 +
0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) << ((0+8)+8)))),
(&create)) == 0
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: Last errno: 22, Invalid
argument
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: error: -1 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_create+0x77]
  #2 [major_evictions.constprop.3+0x4c]
  #3 [__real_main183+0x27f]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest major-normal failed.
**** DEBUG ****
(gem_evict_everything:1391) intel-os-DEBUG: Checking 4 surfaces of size 0 bytes
(total 4,096) against RAM
(gem_evict_everything:1391) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_evict_everything:1391) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_create, file ioctl_wrappers.c:501:
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: Failed assertion:
drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 +
0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) << ((0+8)+8)))),
(&create)) == 0
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: Last errno: 22, Invalid
argument
(gem_evict_everything:1391) ioctl-wrappers-CRITICAL: error: -1 != 0
****  END  ****
Subtest major-normal: FAIL (0.033s)

Expected result:
----------------
1. Test are Pass or Skip</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 the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>