Bug 94572

Summary: [BAT SKL] igt@kms_flip@basic-flip-vs-modeset: atomic_commit fail/stuck page
Product: DRI Reporter: Imre Deak <imre.deak>
Component: DRM/IntelAssignee: Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: highest CC: intel-gfx-bugs
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features: display/atomic
Attachments:
Description Flags
dmesg.log none

Comment 1 Imre Deak 2016-04-19 12:34:41 UTC
Another instance:
http://benchsrv.fi.intel.com/archive/results/CI_IGT_test/Patchwork_1938/skl-i7k-2/html/skl-i7k-2@Patchwork_1938@1/igt@kms_flip@basic-flip-vs-modeset.html

[  177.954751] ------------[ cut here ]------------
[  177.954836] WARNING: CPU: 1 PID: 6349 at drivers/gpu/drm/i915/intel_display.c:13529 intel_atomic_commit+0x1271/0x1400 [i915]
[  177.954842] pipe B vblank wait timed out
[  177.954845] Modules linked in: snd_hda_intel i915 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel snd_pcm mei_me mei i2c_hid e1000e ptp pps_core [last unloaded: i915]
[  177.954892] CPU: 1 PID: 6349 Comm: kms_flip Tainted: G     U          4.6.0-rc4-CI-Patchwork_1938+ #1
[  177.954896] Hardware name: System manufacturer System Product Name/Z170M-PLUS, BIOS 0701 01/13/2016
[  177.954900]  0000000000000000 ffff880228e7bb28 ffffffff81405e35 ffff880228e7bb78
[  177.954909]  0000000000000000 ffff880228e7bb68 ffffffff81079c7c 000034d9299e40d8
[  177.954917]  0000000000000001 ffff88022d8dd698 0000000000000001 0000000000000108
[  177.954926] Call Trace:
[  177.954937]  [<ffffffff81405e35>] dump_stack+0x67/0x92
[  177.954944]  [<ffffffff81079c7c>] __warn+0xcc/0xf0
[  177.954950]  [<ffffffff81079cea>] warn_slowpath_fmt+0x4a/0x50
[  177.954959]  [<ffffffff810c2df9>] ? finish_wait+0x59/0x70
[  177.955021]  [<ffffffffa021f321>] intel_atomic_commit+0x1271/0x1400 [i915]
[  177.955028]  [<ffffffff810c2f60>] ? wait_woken+0x90/0x90
[  177.955035]  [<ffffffff81538b52>] drm_atomic_commit+0x32/0x50
[  177.955042]  [<ffffffff8151565d>] drm_atomic_helper_set_config+0x7d/0xb0
[  177.955051]  [<ffffffff81528e40>] drm_mode_set_config_internal+0x60/0x110
[  177.955056]  [<ffffffff8152c616>] drm_mode_setcrtc+0x186/0x4f0
[  177.955061]  [<ffffffff8151e64d>] drm_ioctl+0x13d/0x590
[  177.955066]  [<ffffffff8152c490>] ? drm_mode_setplane+0x1b0/0x1b0
[  177.955074]  [<ffffffff811da623>] ? __vfs_read+0x23/0xd0
[  177.955080]  [<ffffffff811ee0aa>] do_vfs_ioctl+0x8a/0x670
[  177.955088]  [<ffffffff811f9f3a>] ? __fget_light+0x6a/0x90
[  177.955093]  [<ffffffff811ee6cc>] SyS_ioctl+0x3c/0x70
[  177.955100]  [<ffffffff817d24a9>] entry_SYSCALL_64_fastpath+0x1c/0xac
[  177.955106] ---[ end trace 75debc4d90be1464 ]---
[  237.986034] ------------[ cut here ]------------
[  237.986114] WARNING: CPU: 1 PID: 6349 at drivers/gpu/drm/i915/intel_display.c:3857 intel_atomic_commit+0x13d2/0x1400 [i915]
[  237.986118] Removing stuck page flip
[  237.986121] Modules linked in: snd_hda_intel i915 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel snd_pcm mei_me mei i2c_hid e1000e ptp pps_core [last unloaded: i915]
[  237.986166] CPU: 1 PID: 6349 Comm: kms_flip Tainted: G     U  W       4.6.0-rc4-CI-Patchwork_1938+ #1
[  237.986170] Hardware name: System manufacturer System Product Name/Z170M-PLUS, BIOS 0701 01/13/2016
[  237.986174]  0000000000000000 ffff880228e7bb28 ffffffff81405e35 ffff880228e7bb78
[  237.986183]  0000000000000000 ffff880228e7bb68 ffffffff81079c7c 00000f1128e7bba8
[  237.986190]  0000000000000001 ffff88022dc73780 ffff88022d8dd698 0000000000000000
[  237.986198] Call Trace:
[  237.986208]  [<ffffffff81405e35>] dump_stack+0x67/0x92
[  237.986215]  [<ffffffff81079c7c>] __warn+0xcc/0xf0
[  237.986221]  [<ffffffff81079cea>] warn_slowpath_fmt+0x4a/0x50
[  237.986284]  [<ffffffffa021f482>] intel_atomic_commit+0x13d2/0x1400 [i915]
[  237.986294]  [<ffffffff81537db9>] ? drm_atomic_get_crtc_state+0x29/0xc0
[  237.986302]  [<ffffffff810c2f60>] ? wait_woken+0x90/0x90
[  237.986307]  [<ffffffff81538b52>] drm_atomic_commit+0x32/0x50
[  237.986314]  [<ffffffff8151565d>] drm_atomic_helper_set_config+0x7d/0xb0
[  237.986323]  [<ffffffff81528e40>] drm_mode_set_config_internal+0x60/0x110
[  237.986328]  [<ffffffff8152c616>] drm_mode_setcrtc+0x186/0x4f0
[  237.986335]  [<ffffffff81195088>] ? __might_fault+0x48/0xa0
[  237.986340]  [<ffffffff8151e64d>] drm_ioctl+0x13d/0x590
[  237.986345]  [<ffffffff8152c490>] ? drm_mode_setplane+0x1b0/0x1b0
[  237.986353]  [<ffffffff811da623>] ? __vfs_read+0x23/0xd0
[  237.986359]  [<ffffffff811ee0aa>] do_vfs_ioctl+0x8a/0x670
[  237.986367]  [<ffffffff811f9f3a>] ? __fget_light+0x6a/0x90
[  237.986372]  [<ffffffff811ee6cc>] SyS_ioctl+0x3c/0x70
[  237.986379]  [<ffffffff817d24a9>] entry_SYSCALL_64_fastpath+0x1c/0xac
[  237.986385] ---[ end trace 75debc4d90be1465 ]---
[  238.086049] ------------[ cut here ]------------
[  238.086064] WARNING: CPU: 1 PID: 6349 at drivers/gpu/drm/drm_irq.c:1323 drm_wait_one_vblank+0x150/0x1a0
[  238.086068] vblank wait timed out on crtc 1
[  238.086072] Modules linked in: snd_hda_intel i915 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec crct10dif_pclmul crc32_pclmul snd_hwdep snd_hda_core ghash_clmulni_intel snd_pcm mei_me mei i2c_hid e1000e ptp pps_core [last unloaded: i915]
[  238.086117] CPU: 1 PID: 6349 Comm: kms_flip Tainted: G     U  W       4.6.0-rc4-CI-Patchwork_1938+ #1
[  238.086122] Hardware name: System manufacturer System Product Name/Z170M-PLUS, BIOS 0701 01/13/2016
[  238.086126]  0000000000000000 ffff880228e7ba78 ffffffff81405e35 ffff880228e7bac8
[  238.086135]  0000000000000000 ffff880228e7bab8 ffffffff81079c7c 0000052b299e40d8
[  238.086143]  ffff88022dc733f8 0000000000000001 0000000000000ef9 ffff8802299e40d8
[  238.086151] Call Trace:
[  238.086161]  [<ffffffff81405e35>] dump_stack+0x67/0x92
[  238.086167]  [<ffffffff81079c7c>] __warn+0xcc/0xf0
[  238.086173]  [<ffffffff81079cea>] warn_slowpath_fmt+0x4a/0x50
[  238.086180]  [<ffffffff810c2df9>] ? finish_wait+0x59/0x70
[  238.086186]  [<ffffffff815206b0>] drm_wait_one_vblank+0x150/0x1a0
[  238.086192]  [<ffffffff810c2f60>] ? wait_woken+0x90/0x90
[  238.086262]  [<ffffffffa021db9d>] intel_pre_plane_update+0x15d/0x180 [i915]
[  238.086324]  [<ffffffffa021e422>] intel_atomic_commit+0x372/0x1400 [i915]
[  238.086332]  [<ffffffff81537db9>] ? drm_atomic_get_crtc_state+0x29/0xc0
[  238.086339]  [<ffffffff810c2f60>] ? wait_woken+0x90/0x90
[  238.086344]  [<ffffffff81538b52>] drm_atomic_commit+0x32/0x50
[  238.086351]  [<ffffffff8151565d>] drm_atomic_helper_set_config+0x7d/0xb0
[  238.086359]  [<ffffffff81528e40>] drm_mode_set_config_internal+0x60/0x110
[  238.086364]  [<ffffffff8152c616>] drm_mode_setcrtc+0x186/0x4f0
[  238.086372]  [<ffffffff81195088>] ? __might_fault+0x48/0xa0
[  238.086377]  [<ffffffff8151e64d>] drm_ioctl+0x13d/0x590
[  238.086382]  [<ffffffff8152c490>] ? drm_mode_setplane+0x1b0/0x1b0
[  238.086389]  [<ffffffff811da623>] ? __vfs_read+0x23/0xd0
[  238.086395]  [<ffffffff811ee0aa>] do_vfs_ioctl+0x8a/0x670
[  238.086402]  [<ffffffff811f9f3a>] ? __fget_light+0x6a/0x90
[  238.086407]  [<ffffffff811ee6cc>] SyS_ioctl+0x3c/0x70
[  238.086414]  [<ffffffff817d24a9>] entry_SYSCALL_64_fastpath+0x1c/0xac
[  238.086419] ---[ end trace 75debc4d90be1466 ]---
Comment 2 dog 2016-07-14 13:36:59 UTC
QA, please retest to see if this test still fails on SKL
Comment 3 Humberto Israel Perez Rodriguez 2016-07-14 19:59:42 UTC
(In reply to dog from comment #2)
> QA, please retest to see if this test still fails on SKL

Hi , looks like that the issue is not present in the latest configuration with SKL-Y, please find the details below :

Gfx stack
===========================================
Component         : drm
	tag       : libdrm-2.4.68-14-g8c8d5dd
	commit    : 8c8d5dd
Component         : mesa
	tag       : 12.0-branchpoint-1105-g3db7f34
	commit    : 3db7f34
Component         : cairo
	tag       : 1.15.2-42-gb73c082
	commit    : b73c082
Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.15-124-g2ed42d3
	commit    : 2ed42d3


 Hardware information
============================================
Platform                        : SKL
Motherboard model               : Inspiron 15-7568
Motherboard type                : 02HK88 Laptop
Motherboard manufacturer        : Dell Inc.
CPU family                      : Core i7
CPU information                 : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
GPU Card                        : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 8 GB


Kernel
=============================================
commit 125b10ecf5147afd97e336cddc38f931068f04e1
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Jul 14 15:55:38 2016 +0200

    drm-intel-nightly: 2016y-07m-14d-13h-55m-14s UTC integration manifest


Attachments
=============================================
dmesg.log
Comment 4 Humberto Israel Perez Rodriguez 2016-07-14 19:59:59 UTC
Created attachment 125078 [details]
dmesg.log

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.