Bug 100596 - [BXT/GLK/KBL/BDW/IVB/HSW/BSW/BYT] gem_userptr_blits/map-fixed-invalidate* showing bad address
Summary: [BXT/GLK/KBL/BDW/IVB/HSW/BSW/BYT] gem_userptr_blits/map-fixed-invalidate* sho...
Status: VERIFIED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-05 21:34 UTC by Elio
Modified: 2017-09-14 22:55 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, BSW/CHT, BXT, BYT, GLK, HSW, IVB, KBL, SKL
i915 features: GEM/Other


Attachments
dmesg log (121.18 KB, text/plain)
2017-04-05 21:34 UTC, Elio
no flags Details

Description Elio 2017-04-05 21:34:12 UTC
Created attachment 130717 [details]
dmesg log

The following test cases are failing because gem_userptr_blit is having assertion issues with __gem_set_domain function, causing bad addressing.

Tests:

gem_userptr_blits@map-fixed-invalidate-busy-gup
gem_userptr_blits@map-fixed-invalidate-gup
gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
gem_userptr_blits@map-fixed-invalidate-overlap-gup

Output:

IGT-Version: 1.18-g56741ce (x86_64) (Linux: 4.11.0-rc5-drm-tip-qa-ww14-commit-5bc82ec+ x86_64)
Aperture size is 268435456 MiB
Total RAM is 1,849 MiB
Not enough RAM to run test, reducing buffer count.
(gem_userptr_blits:1541) CRITICAL: Test assertion failure function test_map_fixed_invalidate, file gem_userptr_blits.c:669:
(gem_userptr_blits:1541) CRITICAL: Failed assertion: __gem_set_domain(fd, handle[0], 0x00000040, 0x00000040) == 0
(gem_userptr_blits:1541) CRITICAL: Last errno: 14, Bad address
(gem_userptr_blits:1541) 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-overlap-gup failed.
**** DEBUG ****
(gem_userptr_blits:1541) CRITICAL: Test assertion failure function test_map_fixed_invalidate, file gem_userptr_blits.c:669:
(gem_userptr_blits:1541) CRITICAL: Failed assertion: __gem_set_domain(fd, handle[0], 0x00000040, 0x00000040) == 0
(gem_userptr_blits:1541) CRITICAL: Last errno: 14, Bad address
(gem_userptr_blits:1541) CRITICAL: error: -14 != 0
****  END  ****
Subtest map-fixed-invalidate-overlap-gup: FAIL (0.009s)

Configuration:

Kernel version:
4.11.0-rc5   commit-5bc82ec

Component         : drm
	url       : http://cgit.freedesktop.org/mesa/drm
	tag       : libdrm-2.4.76-16-g6312017
	commit    : 6312017
	author    : Emil Velikov <emil.l.velikov@gmail.com>
	age       : Mon Apr 3 18:01:49 2017 +0100 7 hours ago
	comment   : configure.ac: bring back pthread-stubs check


Component         : mesa
	url       : http://cgit.freedesktop.org/mesa/mesa
	tag       : 17.0-branchpoint-2397-g405ef7b
	commit    : 405ef7b
	author    : Jason Ekstrand <jason@jlekstrand.net>
	age       : Mon Apr 3 16:58:35 2017 -0700 30 minutes ago
	comment   : intel/vec4: Add some fall through comments



Component         : xf86-video-intel
	url       : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel
	tag       : 2.99.917-770-gcb6ba2d
	commit    : cb6ba2d
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : Sat Mar 25 01:21:46 2017 +0000 10 days ago

Component         : libva
	url       : http://cgit.freedesktop.org/libva
	tag       : libva-1.7.3.pre1-85-gefc164d
	commit    : efc164d
	author    : Xiang Haihao <haihao.xiang@intel.com>
	age       : Tue Mar 7 23:42:43 2017 +0800 4 weeks ago
	comment   : Bump libva to 1.8.1.pre1 for development


Component         : intel-driver
	url       : http://cgit.freedesktop.org/vaapi/intel-driver
	tag       : 1.7.3-359-g437cbe0
	commit    : 437cbe0
	author    : Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
	age       : Wed Mar 29 08:29:46 2017 +0800 6 days ago
	comment   : gen8: accept P010 as valid format



Component         : cairo
	url       : http://cgit.freedesktop.org/cairo
	tag       : 1.15.4-11-gcffa452
	commit    : cffa452
	author    : Debarshi Ray <debarshir@freedesktop.org>
	age       : Wed Mar 15 20:26:22 2017 -0700 3 weeks ago
	comment   : doc: Clarify when the device scale is inherited and when 
Component         : xserver
	url       : http://cgit.freedesktop.org/xorg/xserver
	tag       : xorg-server-1.19.0-184-ge4d0757
	commit    : e4d0757
	author    : Adam Jackson <ajax@redhat.com>
	age       : Thu Mar 30 11:32:02 2017 -0400 4 days ago
	comment   : xfree86: Remove driver entity hooks and private



Component         : macros
	url       : https://cgit.freedesktop.org/xorg/util/macros
	tag       : util-macros-1.19.1-2-g39f07f7
	commit    : 39f07f7
	author    : Emil Velikov <emil.veliko@collabora.com>
	age       : Mon Feb 20 10:16:40 2017 +1000 6 weeks ago
	comment   : Rework INSTALL_CMD to touch/echo >&2 only as needed



Component         : intel-gpu-tools
	url       : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
	tag       : intel-gpu-tools-1.18-56-g56741ce
	commit    : 56741ce
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : Mon Apr 3 19:19:42 2017 +0100 6 hours ago
	comment   : tests/gem_media_fill: Fixup typo



Component         : piglit
	url       : https://cgit.freedesktop.org/piglit
	tag       : piglit-v1
	commit    : 3d1cbd9
	author    : Vinson Lee <vlee@freedesktop.org>
	age       : Mon Apr 3 15:46:33 2017 -0700 2 hours ago
	comment   : glslparsertest: Add test case for FDO bug #100438.
Comment 1 Chris Wilson 2017-04-05 21:39:51 UTC
Yup, this is genuine. I think both the kernel and test cases are behaving correctly, so something is definitely amiss in one or both.
Comment 2 maria guadalupe 2017-04-05 22:06:55 UTC
this issue is also present over GLK with the next configuration:

test
======================================
gem_userptr_blits@map-fixed-invalidate-busy-gup
gem_userptr_blits@map-fixed-invalidate-gup
gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
gem_userptr_blits@map-fixed-invalidate-overlap-gup

======================================
             Software
======================================
kernel version            : 4.10.0-rc7-drm-intel-testing-qa-ww14-commit-5b28e02+
architecture              : x86_64
os version                : Ubuntu 16.10
os codename               : yakkety

======================================
        Graphic drivers
======================================
modesetting               : modesetting_drv.so
xorg-xserver              : 1.18.4
libdrm                    : 2.4.76
cairo                     : 1.15.5
xserver                   : X.Org X Server 1.18.4
intel-gpu-tools (tag)     : intel-gpu-tools-1.18-56-g56741ce
intel-gpu-tools (commit)  : 56741ce

======================================
             Hardware
======================================
platform                  : Geminilake
motherboard model         : Geminilake
motherboard id            : GLKRVP1DDR4(05)
cpu family id             : 6
cpu information           : Genuine Intel(R) CPU @ 1.10GHz
gpu card                  : Intel Corporation Device 3184 (rev 01) (prog-if 00 [                                                                                                             VGA controller])
max memory ram            : 16 GB
cpu model                 : 122
Comment 3 Jairo Miramontes 2017-04-05 23:42:39 UTC
Also seen on SKL, latest configuration.
Comment 4 Humberto Israel Perez Rodriguez 2017-05-17 19:25:32 UTC
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 ?
Comment 5 Humberto Israel Perez Rodriguez 2017-05-19 20:32:47 UTC
same issue on SKL with latest configuration

igt@gem_userptr_blits@swapping-sync-interruptible
igt@gem_userptr_blits@swapping-unsync-interruptible


======================================
        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
Comment 6 Jari Tahvanainen 2017-05-23 10:41:14 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #4)
> 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 ?

mlocked-normal-sync is tracked with bug 95427
Comment 7 Humberto Israel Perez Rodriguez 2017-05-24 22:35:41 UTC
same issue with KBL and latest configuration

test cases
============================================
igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
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



Component: drm
    tag: libdrm-2.4.80-15-geeb51df
    commit: eeb51df3ced003515ba4a71492eeb86c145cb77e

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

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-209-g26c266f
    commit: 26c266febe1fc97c46d25a33aaf6a1869a51c008

Component: piglit
    tag: piglit-v1
    commit: 9cc5b2169ab6eb8a6a09329836d8d884d4350eec


======================================
             Software
======================================
kernel version              : 4.12.0-rc2-drm-tip-ww21-commit-7808a0f+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 05/03/2017
ksc                         : 8.1

======================================
             Hardware
======================================
motherboard id             : NUC7i5BNB
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
gpu card                   : Intel Corporation Device 5926 (rev 06) (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 142
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 142, Stepping 9
hard drive                 : 447GiB (480GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1 DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0
Comment 8 Humberto Israel Perez Rodriguez 2017-05-30 16:41:12 UTC
(In reply to Chris Wilson from comment #1)
> Yup, this is genuine. I think both the kernel and test cases are behaving
> correctly, so something is definitely amiss in one or both.

most of this test cases failed on several platforms, is not enough with 16GB of ram ?
Comment 9 Armando Antonio 2017-07-06 13:35:55 UTC
This is happening in IVB with latest configuration.

====================================================
Test List
====================================================
igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
igt@gem_userptr_blits@mlocked-unsync-normal
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

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff
======================================
             Hardware
======================================
platform                   : Ivy Bridge
motherboard model          : Inspiron660
motherboard id             : 0XR1GT
form factor                : Desktop
manufacturer               : DellInc.
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz
gpu card                   : Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 7.7 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 58
cpu stepping               : 9
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 58, Stepping 9
hard drive                 : 74GiB (80GB)
current cd clock frequency : 400000 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : VGA-1 HDMI-A-1
Comment 10 Armando Antonio 2017-07-11 16:47:33 UTC
The following tests fail on BSW with latest configuration

====================================================
Test list
====================================================
gem_userptr_blits@map-fixed-invalidate-busy-gup
gem_userptr_blits@map-fixed-invalidate-gup
gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
gem_userptr_blits@map-fixed-invalidate-overlap-gup

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff

======================================
             Hardware
======================================
platform                   : Braswell
motherboard model          : 10G9000NUS
motherboard id             : BRASWELL
form factor                : Desktop
manufacturer               : LENOVO
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
gpu card                   : Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21) (prog-if 00 [VGA controller])
memory ram                 : 7.68 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 76
cpu stepping               : 3
socket                     : Socket BGA1155
signature                  : Type 0, Family 6, Model 76, Stepping 3
hard drive                 : 476GiB (512GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 320000 kHz
displays connected         : DP-1 DP-3
Comment 11 maria guadalupe 2017-07-12 16:21:17 UTC
issue is still present over BDW with the following configuration 

test
=====================================
igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
igt@gem_userptr_blits@mlocked-unsync-normal
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


 Software
======================================
kernel version              : 4.12.0-drm-tip-ww28-commit-f1619bb+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.70
libva                       : 1.7.1-2
vaapi (intel-driver)        : 1.7.1
cairo                       : 1.14.6-1build1
intel-gpu-tools             : 1.16-1

======================================
             Hardware
======================================
platform                   : Broadwell
motherboard id             : NUC5i5MYBE
form factor                : Desktop
cpu family                 : Core i5
cpu information            : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
gpu card                   : Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 11.62 GB
max memory ram             : 16 GB
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : DP-1 DP-2
Comment 12 Ricardo Madrigal 2017-07-19 20:47:19 UTC
The following test fail on BYT with latest configuration

====================================================
Test list
====================================================
igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
igt@gem_userptr_blits@map-fixed-invalidate-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-gup

====================================================
Graphic Stack
====================================================
Component: drm
     tag: libdrm-2.4.81-31-g23e234a
     commit: 23e234a3503f51b9d9c585123d33b936f522808d
Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-96-gfb1ddc4
    commit: fb1ddc47003ad6a683db79beeb81b6cbab1feb7c
Component: piglit
    tag: piglit-v1
    commit: 56e7e5583cd4a3ca15a8cda154d46d168959dd25

======================================
             Hardware
======================================
motherboard model          : .................................
motherboard id             : DN2820FYK
form factor                : Desktop
manufacturer               : .................................
cpu family                 : Celeron
cpu family id              : 6
cpu information            : Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
gpu card                   : Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA controller])
memory ram                 : 7.66 GB
max memory ram             : 8 GB
cpu thread                 : 2
cpu core                   : 2
cpu model                  : 55
cpu stepping               : 8
socket                     : <OUT OF SPEC>
signature                  : Type 0, Family 6, Model 55, Stepping 8
hard drive                 : 111GiB (120GB)
current cd clock frequency : 266667 kHz
maximum cd clock frequency : 400000 kHz
displays connected         : HDMI-A-1
Comment 13 maria guadalupe 2017-08-08 20:47:15 UTC
These tests is still failing over GLK with the following configuration 
 
test
======================================
gem_userptr_blits@map-fixed-invalidate-busy-gup
gem_userptr_blits@map-fixed-invalidate-gup
gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
gem_userptr_blits@map-fixed-invalidate-overlap-gup

  Software
======================================
kernel version              : 4.13.0-rc4-drm-tip-ww32-commit-ef8894e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 52.23
bios release date           : 06/24/2017
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda2)

======================================
        Graphic drivers
======================================
intel-gpu-tools             : 1.17-1

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU @ 1.10GHz
gpu card                   : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller])
memory ram                 : 5.64 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 0
socket                     : Other
hard drive                 : 223GiB (240GB)
current cd clock frequency : 79200 kHz
maximum cd clock frequency : 316800 kHz
Comment 14 Hector Velazquez 2017-09-05 18:58:40 UTC
The following tests FAIL on HSW 

Tests List:

igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
igt@gem_userptr_blits@map-fixed-invalidate-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-gup



This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-52-g05a830d
    commit: 05a830d382382905d87b55af90aa109fb76e4c16

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-234-g490b386
    commit: 490b386ae36d393cdea514882a2437c6e964c13f

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b

======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-9dd459e+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 4.6
bios release date           : 03/02/2017
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-234-g490b386
intel-gpu-tools (commit)    : 490b386

======================================
	     Hardware
======================================
platform                   : Haswell-Nuc
motherboard id             : D54250WYK
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
gpu card                   : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 1.83 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 69
cpu stepping               : 1
socket                     : Socket LGA1150
signature                  : Type 0, Family 6, Model 69, Stepping 1
hard drive                 : 223GiB (240GB)
current cd clock frequency : 450000 kHz
maximum cd clock frequency : 450000 kHz
displays connected         : DP-1
Comment 15 Chris Wilson 2017-09-05 20:56:47 UTC
https://patchwork.freedesktop.org/patch/169425/
Comment 16 Chris Wilson 2017-09-06 18:06:05 UTC
commit 0d028f8fd07f0a4b46c9e4659eb3caf93a69ac11
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 28 12:55:20 2017 +0100

    igt/gem_userptr_blits: Errors from gup are permanent
    
    After triggering an error (such as trying to use userptr on a GTT
    mmaping), we store the EFAULT on the object permanently. So to test the
    error, we must sacrifice the object and recreate the userptr handle.
    We restrict the error to just one of the overlapping userptr handles to
    check the object independence.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100596
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Comment 17 Hector Velazquez 2017-09-07 14:38:13 UTC
The following tests PASS on SKL 

Tests List:

igt@kms_sysfs_edid_timing

igt@gem_userptr_blits@map-fixed-invalidate-busy-gup
igt@gem_userptr_blits@map-fixed-invalidate-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup
igt@gem_userptr_blits@map-fixed-invalidate-overlap-gup


======================================
        Output Sample
======================================
...
IGT-Version: 1.19-g4a1c8da (x86_64) (Linux: 4.13.0-drm-tip-ww36-commit-00f9b49+ x86_64)
(gem_userptr_blits:1522) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_userptr_blits:1522) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_userptr_blits:1522) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_userptr_blits:1522) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
Aperture size is 268435456 MiB
Total RAM is 15936 MiB
Not enough RAM to run test, reducing buffer count.
(gem_userptr_blits:1522) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1522) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1522) DEBUG: Test requirement passed: has_userptr(fd)
(gem_userptr_blits:1522) igt-core-DEBUG: Starting subtest: map-fixed-invalidate-busy-gup
Subtest map-fixed-invalidate-busy-gup: SUCCESS (0.537s)
(gem_userptr_blits:1522) igt-core-DEBUG: Exiting with status code 0
...

This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-53-gd55d080
    commit: d55d0804f9e37637d7510f38f97e07a50c6b7baa

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-244-g4a1c8da
    commit: 4a1c8daff2005e2cbfe980d63bc0a0fb09cb017d

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b



======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-00f9b49+
hostname                    : SKL-2-NUC6i5SYB
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 05/27/2016
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-244-g4a1c8da
intel-gpu-tools (commit)    : 4a1c8da

======================================
	     Hardware
======================================
platform                   : Skylake-Nuc
motherboard id             : NUC6i5SYB
form factor                : Desktop
cpu family                 : Core i5
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz
gpu card                   : Intel Corporation Iris Graphics 540 (rev 0a) (prog-if 00 [VGA controller])
memory ram                 : 15.56 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 78
cpu stepping               : 3
socket                     : None
signature                  : Type 0, Family 6, Model 78, Stepping 3
hard drive                 : 223GiB (240GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : HDMI-A-1 DP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26
guc fw loaded             : SUCCESS
guc version wanted        : 6.1
guc version found         : 6.1

======================================
	     kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 nmi_watchdog=panic resume=/dev/sda3 fastboot


Since the test is PASS, will removed from the list....
Comment 18 Hector Velazquez 2017-09-07 14:40:25 UTC
Sorry, this test was not executed and is not part of this bug... : igt@kms_sysfs_edid_timing
Comment 19 Elizabeth 2017-09-14 22:55:34 UTC
Verified with BXT, GLK, KBL, BDW, IVB, HSW, BSW, BYT.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.