Bug 104002 - [IGT] gem_mmap_gtt@coherency fails with assertion: cpu[x] == i
Summary: [IGT] gem_mmap_gtt@coherency fails with assertion: cpu[x] == i
Status: CLOSED DUPLICATE of bug 100587
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-30 21:07 UTC by Armando Antonio
Modified: 2018-01-04 18:36 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, CNL
i915 features: GEM/Other


Attachments
test output (677 bytes, text/plain)
2017-11-30 21:07 UTC, Armando Antonio
no flags Details
dmesg log (188.84 KB, text/plain)
2017-11-30 21:08 UTC, Armando Antonio
no flags Details
kernel log (260.64 KB, text/plain)
2017-11-30 21:08 UTC, Armando Antonio
no flags Details

Description Armando Antonio 2017-11-30 21:07:40 UTC
Created attachment 135840 [details]
test output

The following test case is failing on CNL with latest configuration.

Test Case:
igt@gem_mmap_gtt@coherency

Assertion:
(gem_mmap_gtt:1557) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:1557) CRITICAL: error: 0 != 4608
Subtest coherency failed.
Comment 1 Armando Antonio 2017-11-30 21:07:55 UTC
Platform configuration

======================================
             Software
======================================
kernel version              : 4.15.0-rc1-drm-intel-qa-ww48-commit-6d6c48b+
hostname                    : CNL-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 108.1
bios release date           : 10/12/2017
ksc                         : 1.32
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.88
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-169-gac6739b
intel-gpu-tools (commit)    : ac6739b

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.61 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 168000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.6
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 0.0, found 0.0
guc version found         : wanted 0.0, found 0.0

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 resume=/dev/nvme0n1p3 fastboot
Comment 2 Armando Antonio 2017-11-30 21:08:12 UTC
Created attachment 135841 [details]
dmesg log
Comment 3 Armando Antonio 2017-11-30 21:08:37 UTC
Created attachment 135842 [details]
kernel log
Comment 4 Chris Wilson 2017-11-30 23:15:36 UTC
Has it always failed? Is it 100% reliable?

Has CNL changed the GTT implementation compared to the other Big Core? That is the ultimate question, whether we need to apply the w/a to CNL as well.
Comment 5 Armando Antonio 2017-12-01 17:24:20 UTC
Hello Chris, 

Yes, it is failing 100% of the times, We don't have any record that this test was success before.

Regards.
Comment 6 Octavio 2017-12-13 20:27:35 UTC
The following test case is failing on BXT 

igt@gem_mmap_gtt@coherency 

IGT-Version: 1.20-g39ac6b8 (x86_64) (Linux: 4.15.0-rc2-drm-intel-qa-ww49-commit-bdf9b36+ x86_64)

(gem_mmap_gtt:4141) CRITICAL: Failed assertion: cpu[x] == i
Comment 7 Chris Wilson 2017-12-14 07:54:15 UTC

*** This bug has been marked as a duplicate of bug 100587 ***
Comment 8 Chris Wilson 2017-12-14 07:54:44 UTC
Now treating CNL as equally incoherent as Atom.


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.