<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BXT/GLK] gem_userptr_blits/map-fixed-invalidate* showing bad address"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100596#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BXT/GLK] gem_userptr_blits/map-fixed-invalidate* showing bad address"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100596">bug 100596</a>
              from <span class="vcard"><a class="email" href="mailto:humberto.i.perez.rodriguez@intel.com" title="Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez@intel.com>"> <span class="fn">Humberto Israel Perez Rodriguez</span></a>
</span></b>
        <pre>The following test cases are failing on BXT with latest configuration:

igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
igt@gem_userptr_blits@swapping-unsync-interruptible
igt@gem_userptr_blits@map-fixed-invalidate-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
igt@gem_userptr_blits@mlocked-normal-sync


Test output :
IGT-Version: 1.18-g93215b0 (x86_64) (Linux:
4.12.0-rc1-drm-tip-ww20-commit-713f8ec+ x86_64)
(gem_userptr_blits:1451) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_userptr_blits:1451) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(gem_userptr_blits:1451) drmtest-DEBUG: Test requirement passed:
is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_userptr_blits:1451) ioctl-wrappers-DEBUG: Test requirement passed: err ==
0
Aperture size is 268435456 MiB
Total RAM is 15,915 MiB
Not enough RAM to run test, reducing buffer count.
(gem_userptr_blits:1451) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1451) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1451) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1451) igt-core-DEBUG: Starting subtest:
map-fixed-invalidate-busy-gup
(gem_userptr_blits:1451) CRITICAL: Test assertion failure function
test_map_fixed_invalidate, file gem_userptr_blits.c:669:
(gem_userptr_blits:1451) CRITICAL: Failed assertion: __gem_set_domain(fd,
handle[0], 0x00000040, 0x00000040) == 0
(gem_userptr_blits:1451) CRITICAL: Last errno: 14, Bad address
(gem_userptr_blits:1451) CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0xec3]
  #2 [__libc_start_main+0xf1]
  #3 [_start+0x29]
  #4 [<unknown>+0x29]
Subtest map-fixed-invalidate-busy-gup failed.
**** DEBUG ****
(gem_userptr_blits:1451) CRITICAL: Test assertion failure function
test_map_fixed_invalidate, file gem_userptr_blits.c:669:
(gem_userptr_blits:1451) CRITICAL: Failed assertion: __gem_set_domain(fd,
handle[0], 0x00000040, 0x00000040) == 0
(gem_userptr_blits:1451) CRITICAL: Last errno: 14, Bad address
(gem_userptr_blits:1451) CRITICAL: error: -14 != 0
****  END  ****
Subtest map-fixed-invalidate-busy-gup: FAIL (0.019s)
(gem_userptr_blits:1451) igt-core-DEBUG: Exiting with status code 99
(gem_userptr_blits:1451) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'


======================================
             Software
======================================
kernel version              : 4.12.0-rc1-drm-tip-ww20-commit-713f8ec+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 03/10/2017
ksc                         : 16.0

======================================
        Graphic drivers
======================================
Component: drm
    tag: libdrm-2.4.80-11-ga2fa2e0
    commit: a2fa2e08692483cf9f4d06caa6e0f0add59e3343

Component: cairo
    tag: 1.15.4-21-g9d44136
    commit: 9d44136ef8e2a1ad2c6631beb4bbdaeed7a2dad8

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-173-g93215b0
    commit: 93215b00db06ba568c34a6cad194f4749bbfbc9d

Component: piglit
    tag: piglit-v1
    commit: 7352f4a98a23eae1201bfc4a0121d9c3a969d23f

======================================
             Hardware
======================================
motherboard model          : NUC6CAYS
motherboard id             : NUC6CAYB
form factor                : Desktop
manufacturer               : Intelcorporation
cpu family                 : Celeron
cpu family id              : 6
cpu information            : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
gpu card                   : Intel Corporation Device 5a85 (rev 0b) (prog-if 00
[VGA controller])
memory ram                 : 15.54 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 92
cpu stepping               : 9
signature                  : Type 0, Family 6, Model 92, Stepping 9
current cd clock frequency : 384000 kHz
maximum cd clock frequency : 624000 kHz
displays connected         : DP-1 DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0
Add Comment


At this moment when i ran this test cases on APL i had 16GB or ram, and the
test shows 
Not enough RAM to run test, reducing buffer count.
so i am wondering how much memory do i need in order to run this test ?</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 QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>