<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 - [BSW] igt gem_pwrite huge-gtt fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94545">94545</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BSW] igt gem_pwrite huge-gtt fails
          </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=122300" name="attach_122300" title="bsw-dmesg-gem_pwrite-huge-gtt">attachment 122300</a> <a href="attachment.cgi?id=122300&action=edit" title="bsw-dmesg-gem_pwrite-huge-gtt">[details]</a></span>
bsw-dmesg-gem_pwrite-huge-gtt

Hardware: 
Motherboard: Aspire XC-704 
cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz 
cpu model : 76 
cpu family : 6 
Graphic card: Device 22b1 (rev 21)

Software:
Bios: R01-A2
Kernel mainline 4.4.0 from
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git</a>
  commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
  Author: Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org">torvalds@linux-foundation.org</a>>
  Date:   Sun Jan 10 15:01:32 2016 -0800
  Linux 4.4
drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm
mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
waffle: master bb29b2a from git://github.com/waffle-gl/waffle
xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from
git://git.freedesktop.org/git/xorg/util/macros
xserver: tag: xorg-server-1.18.1 23e60f9 from
git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: tag 2.99.917-560 d167280 from
git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
libva: tag libva-1.7.0.pre1 35f1447 from
git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from
git://anongit.freedesktop.org/vaapi/intel-driver
IGT 1.14 364d378 from
<a href="http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git">http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git</a>

One external screen connected to HDMI

Steps:
-------
1. Execute IGT test:
# ./gem_pwrite --run-subtest huge-gtt

Actual result:
---------------
1. Test is Fail, output:
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_write, file ioctl_wrappers.c:321:
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: Failed assertion: drmIoctl((fd),
((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x1d)) << 0) |
((((sizeof(struct drm_i915_gem_pwrite)))) << ((0+8)+8)))), (&gem_pwrite)) == 0
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: Last errno: 7, Argument list too
long
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: error: -1 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_read+0x0]
  #2 [test_big_gtt+0xff]
  #3 [main+0x73f]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest huge-gtt failed.
**** DEBUG ****
(gem_pwrite:2020) intel-os-DEBUG: Checking 1 surfaces of size 3,221,225,472
bytes (total 3,221,229,568) against RAM
(gem_pwrite:2020) intel-os-DEBUG: Test requirement passed:
!(!__intel_check_memory(count, size, mode, &required, &total))
(gem_pwrite:2020) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_pwrite:2020) DEBUG: Test requirement passed: gem_mmap__has_wc(fd)
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: Test assertion failure function
gem_write, file ioctl_wrappers.c:321:
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: Failed assertion: drmIoctl((fd),
((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x1d)) << 0) |
((((sizeof(struct drm_i915_gem_pwrite)))) << ((0+8)+8)))), (&gem_pwrite)) == 0
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: Last errno: 7, Argument list too
long
(gem_pwrite:2020) ioctl-wrappers-CRITICAL: error: -1 != 0
****  END  ****
Subtest huge-gtt: FAIL (2.334s)


Expected result:
-----------------
1. Test is Pass</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>