<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 - [BXT]gem_tiled_swapping/threaded and no-threaded are not allocating memory"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100594">100594</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BXT]gem_tiled_swapping/threaded and no-threaded are not allocating memory
          </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>elio.martinez.monroy@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=130715" name="attach_130715" title="dmesg log">attachment 130715</a> <a href="attachment.cgi?id=130715&action=edit" title="dmesg log">[details]</a></span>
dmesg log

The following test are failing:

igt@gem_tiled_swapping@non-threaded
gem_tiled_swapping@threaded

Both are showing "not allocating memory"

Expected result: should pass

Actual result: fail

Output:

IGT-Version: 1.18-g56741ce (x86_64) (Linux:
4.11.0-rc5-drm-tip-qa-ww14-commit-5bc82ec+ x86_64)
Using 640 1MiB objects (available RAM: 290/1849, swap: 1894)
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_set_domain, file ioctl_wrappers.c:435:
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_set_domain(fd, handle, read, write) == 0
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot
allocate memory
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: error: -12 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_set_domain+0x44]
  #2 [fill_bo+0x2f]
  #3 [__real_main166+0xcf]
  #4 [main+0x33]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest threaded failed.
**** DEBUG ****
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: Test assertion failure
function gem_set_domain, file ioctl_wrappers.c:435:
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: Failed assertion:
__gem_set_domain(fd, handle, read, write) == 0
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: Last errno: 12, Cannot
allocate memory
(gem_tiled_swapping:1526) ioctl-wrappers-CRITICAL: error: -12 != 0
****  END  ****
Subtest threaded: FAIL (1.123s)</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>