<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 - [IGT] [SKL] kms_mmap_write_crc test assertion failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101109">101109</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[IGT] [SKL] kms_mmap_write_crc test assertion failure
</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>humberto.i.perez.rodriguez@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=131419" name="attach_131419" title="dmesg.log">attachment 131419</a> <a href="attachment.cgi?id=131419&action=edit" title="dmesg.log">[details]</a></span>
dmesg.log
Hi, the following test case fail on SKL with latest configuration
Test case
======================================
igt@kms_mmap_write_crc
output
======================================
IGT-Version: 1.18-g49e083a (x86_64) (Linux:
4.12.0-rc1-drm-tip-ww20-commit-8b4cdc6+ x86_64)
(kms_mmap_write_crc:2140) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(kms_mmap_write_crc:2140) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(kms_mmap_write_crc:2140) drmtest-DEBUG: Test requirement passed:
drmSetMaster(fd) == 0
(kms_mmap_write_crc:2140) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: init {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 48 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 53 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 57 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
Using 10 rounds for the test
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: set_pipe(A)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 48 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: Selecting pipe A
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1,
pitch=7680)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(59)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 59, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetPlane pipe A, plane 1,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCursor pipe A,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCrtc pipe B, disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetPlane pipe B, plane 1,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCursor pipe B,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCrtc pipe C, disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetPlane pipe C, plane 1,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCursor pipe C,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Using generic frame CRC ABI
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2,
pitch=7680)
(kms_mmap_write_crc:2140) DEBUG: Test requirement passed: !(dma_buf_fd == -1 &&
errno == EINVAL)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 92, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(59)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 59, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 92, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 92, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-debugfs-CRITICAL: Test assertion failure function
igt_assert_crc_equal, file igt_debugfs.c:305:
(kms_mmap_write_crc:2140) igt-debugfs-CRITICAL: Failed assertion: a->crc[i] ==
b->crc[i]
(kms_mmap_write_crc:2140) igt-debugfs-CRITICAL: error: 0x5aa69981 != 0x40e7392
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [igt_assert_crc_equal+0x6c]
#2 [main+0x456]
#3 [__libc_start_main+0xf1]
#4 [_start+0x2a]
#5 [<unknown>+0x2a]
Test kms_mmap_write_crc failed.
**** DEBUG ****
(kms_mmap_write_crc:2140) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(kms_mmap_write_crc:2140) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(kms_mmap_write_crc:2140) drmtest-DEBUG: Test requirement passed:
drmSetMaster(fd) == 0
(kms_mmap_write_crc:2140) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: init {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 48 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 53 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 57 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) INFO: Using 10 rounds for the test
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: set_pipe(A)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: Setting Broadcast RGB mode on
connector 48 to 1
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: Selecting pipe A
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1,
pitch=7680)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(59)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 59, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetPlane pipe A, plane 1,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCursor pipe A,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCrtc pipe B, disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetPlane pipe B, plane 1,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCursor pipe B,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCrtc pipe C, disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetPlane pipe C, plane 1,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: SetCursor pipe C,
disabling
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Opening debugfs directory
'/sys/kernel/debug/dri/0'
(kms_mmap_write_crc:2140) igt-debugfs-DEBUG: Using generic frame CRC ABI
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_mmap_write_crc:2140) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2,
pitch=7680)
(kms_mmap_write_crc:2140) DEBUG: Test requirement passed: !(dma_buf_fd == -1 &&
errno == EINVAL)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 92, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(59)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 59, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 92, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: A.0: plane_set_fb(92)
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: commit {
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: HDMI-A-1: SetCrtc pipe A,
fb 92, src (0, 0), mode 1920x1080
(kms_mmap_write_crc:2140) igt-kms-DEBUG: display: }
(kms_mmap_write_crc:2140) igt-debugfs-CRITICAL: Test assertion failure function
igt_assert_crc_equal, file igt_debugfs.c:305:
(kms_mmap_write_crc:2140) igt-debugfs-CRITICAL: Failed assertion: a->crc[i] ==
b->crc[i]
(kms_mmap_write_crc:2140) igt-debugfs-CRITICAL: error: 0x5aa69981 != 0x40e7392
======================================
Software
======================================
kernel version : 4.12.0-rc1-drm-tip-ww20-commit-8b4cdc6+
architecture : x86_64
os version : Ubuntu 16.10
os codename : yakkety
kernel driver : i915
bios revision : 5.6
bios release date : 05/27/2016
======================================
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
======================================
platform : SKL-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.58 GB
max memory ram : 32 GB
cpu thread : 4
cpu core : 2
cpu model : 78
cpu stepping : 3
signature : Type 0, Family 6, Model 78, Stepping 3
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 : NONE
guc version wanted : 0.0
guc version found : 0.0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>