Skip to contentSkip to conversation

gem_userptr_blits/map-fixed-invalidate* showing bad address

Bug 100596 [email protected] 1 participant 6 messages Sep 5, 2017 – Sep 14, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100596

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|DRM/Intel                   |IGT
         QA Contact|[email protected] |
                   |sktop.org                   |
           Assignee|[email protected] |[email protected]
                   |sktop.org                   |.org

--- Comment #15 from Chris Wilson <[email protected]> ---
https://patchwork.freedesktop.org/patch/169425/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Michał Winiarski
#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=100596

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #16 from Chris Wilson <[email protected]> --- commit 0d028f8fd07f0a4b46c9e4659eb3caf93a69ac11

Author: Chris Wilson <[email protected]>
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=100596

--- Comment #17 from Hector Velazquez <[email protected]> --- 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....

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=100596

Hector Velazquez <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[BXT/GLK/SKL/KBL/BDW/IVB/HS |[BXT/GLK/KBL/BDW/IVB/HSW/BS
                   |W/BSW/BYT]                  |W/BYT]
                   |gem_userptr_blits/map-fixed |gem_userptr_blits/map-fixed
                   |-invalidate* showing bad    |-invalidate* showing bad
                   |address                     |address
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=100596

--- Comment #18 from Hector Velazquez <[email protected]> --- Sorry, this test was not executed and is not part of this bug... :
igt@kms_sysfs_edid_timing

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=100596

Elizabeth <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED

--- Comment #19 from Elizabeth <[email protected]> --- Verified with BXT, GLK, KBL, BDW, IVB, HSW, BSW, BYT.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel