Bug 89632 - [i965 regression]igt/kms_universal_plane/universal-plane-pipe-A-functional causes WARNING: CPU: 0 PID: 4148 at drivers/gpu/drm/drm_irq.c:1133 drm_wait_one_vblank+0x3b/0x16d [drm]()
Summary: [i965 regression]igt/kms_universal_plane/universal-plane-pipe-A-functional ca...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-03-18 06:45 UTC by lu hua
Modified: 2017-06-08 19:39 UTC (History)
3 users (show)

See Also:
i915 platform: I965G
i915 features: display/Other


Attachments
dmesg (127.11 KB, text/plain)
2015-03-18 06:45 UTC, lu hua
no flags Details

Description lu hua 2015-03-18 06:45:02 UTC
Created attachment 114422 [details]
dmesg

==System Environment==
--------------------------
Regression:  yes
good commit:fd2d61341bf39d1054256c07d6eddd624ebc4241(02-28)
bad commit: e0860aeed3980d1f7b564e1b5cf51ea26740542f(03-18)


no-working platforms: i965 platforms.

==kernel==
--------------------------
drm-intel-nightly/3753ea527e539d3358a6368e77cb29ecb2e71c42
commit 3753ea527e539d3358a6368e77cb29ecb2e71c42
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Mar 17 22:36:04 2015 +0100

    drm-intel-nightly: 2015y-03m-17d-21h-35m-20s UTC integration manifest

==Bug detailed description==
-----------------------------
It causes WARNING: CPU: 0 PID: 4148 at drivers/gpu/drm/drm_irq.c:1133 drm_wait_one_vblank+0x3b/0x16d [drm]() on i965 platforms.

output:
IGT-Version: 1.10-g505645c (x86_64) (Linux: 4.0.0-rc3_drm-intel-next-queued_e0860a_20150318+ x86_64)
Testing connector VGA-1 using pipe A
Subtest universal-plane-pipe-A-functional: SUCCESS (1.257s)

[   69.232104] WARNING: CPU: 0 PID: 4148 at drivers/gpu/drm/drm_irq.c:1133 drm_wait_one_vblank+0x3b/0x16d [drm]()
[   69.232105] vblank not available on crtc 0, ret=-22
[   69.232106] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi serio_raw pcspkr i2c_i801 lpc_ich mfd_core snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore battery wmi tpm_infineon tpm_tis tpm acpi_cpufreq i915 button video drm_kms_helper drm
[   69.232117] CPU: 0 PID: 4148 Comm: kms_universal_p Not tainted 4.0.0-rc3_drm-intel-next-queued_e0860a_20150318+ #2
[   69.232118] Hardware name: ASUS All Series/Z87-EXPERT, BIOS 1008 05/17/2013
[   69.232119]  0000000000000000 0000000000000009 ffffffff81794128 ffff880002abba38
[   69.232120]  ffffffff8103bd5a 0000000000000000 ffffffffa0005f43 0000000000000000
[   69.232122]  ffff8802561e9000 0000000000000000 ffff880251322000 ffffffffa010b780
[   69.232123] Call Trace:
[   69.232127]  [<ffffffff81794128>] ? dump_stack+0x40/0x50
[   69.232131]  [<ffffffff8103bd5a>] ? warn_slowpath_common+0x98/0xb0
[   69.232135]  [<ffffffffa0005f43>] ? drm_wait_one_vblank+0x3b/0x16d [drm]
[   69.232137]  [<ffffffff8103bdb7>] ? warn_slowpath_fmt+0x45/0x4a
[   69.232140]  [<ffffffffa0005f43>] ? drm_wait_one_vblank+0x3b/0x16d [drm]
[   69.232144]  [<ffffffff813f16f8>] ? __pm_runtime_resume+0x5b/0x6a
[   69.232157]  [<ffffffffa00c29a5>] ? intel_finish_crtc_commit+0x47/0x10b [i915]
[   69.232161]  [<ffffffffa0052855>] ? drm_plane_helper_commit+0x16c/0x224 [drm_kms_helper]
[   69.232163]  [<ffffffff810e5018>] ? kmemdup+0x18/0x2c
[   69.232172]  [<ffffffffa00ccc3f>] ? __intel_set_mode+0x313/0x8bd [i915]
[   69.232181]  [<ffffffffa00d2b9e>] ? intel_crtc_set_config+0x89a/0xbaa [i915]
[   69.232183]  [<ffffffff81797e93>] ? __ww_mutex_lock+0x15/0x86
[   69.232187]  [<ffffffffa0017fc7>] ? drm_modeset_lock+0x4e/0xa3 [drm]
[   69.232191]  [<ffffffffa0018348>] ? drm_modeset_lock_all_crtcs+0x69/0x81 [drm]
[   69.232196]  [<ffffffffa000c1e7>] ? drm_mode_set_config_internal+0x4e/0xd2 [drm]
[   69.232201]  [<ffffffffa000cb38>] ? drm_framebuffer_remove+0x8a/0xfe [drm]
[   69.232206]  [<ffffffffa001019c>] ? drm_mode_rmfb+0xe1/0x10a [drm]
[   69.232210]  [<ffffffffa00047d4>] ? drm_ioctl+0x344/0x3b3 [drm]
[   69.232214]  [<ffffffffa00100bb>] ? drm_mode_addfb+0x79/0x79 [drm]
[   69.232216]  [<ffffffff81140724>] ? fsnotify_clear_marks_by_inode+0x93/0x9a
[   69.232217]  [<ffffffff8112297e>] ? dput+0x192/0x1aa
[   69.232220]  [<ffffffff8110bb9f>] ? kmem_cache_free+0xe2/0x11a
[   69.232221]  [<ffffffff8112297e>] ? dput+0x192/0x1aa
[   69.232223]  [<ffffffff8111fb0e>] ? do_vfs_ioctl+0x360/0x424
[   69.232225]  [<ffffffff810a254c>] ? __audit_syscall_entry+0xb3/0xd3
[   69.232227]  [<ffffffff8100d493>] ? syscall_trace_enter_phase1+0x11a/0x123
[   69.232229]  [<ffffffff8111fc1b>] ? SyS_ioctl+0x49/0x7a
[   69.232230]  [<ffffffff81799ba9>] ? int_signal+0x12/0x17
[   69.232232]  [<ffffffff81799972>] ? system_call_fastpath+0x12/0x17
[   69.232233] ---[ end trace 972239ba23d22371 ]---

==Reproduce steps==
---------------------------- 
1.  ./kms_universal_plane --run-subtest universal-plane-pipe-A-functional
Comment 1 Jani Nikula 2015-08-18 13:58:55 UTC
Please retest current drm-intel-nightly.
Comment 2 cprigent 2015-10-13 15:15:45 UTC
I launched all of them:
igt@kms_universal_plane@cursor-fb-leak-pipe-a		Pass
igt@kms_universal_plane@cursor-fb-leak-pipe-b		Pass
igt@kms_universal_plane@cursor-fb-leak-pipe-c		Pass
igt@kms_universal_plane@disable-primary-vs-flip-pipe-a		Pass
igt@kms_universal_plane@disable-primary-vs-flip-pipe-b		Pass
igt@kms_universal_plane@disable-primary-vs-flip-pipe-c		Not run
igt@kms_universal_plane@universal-plane-pipe-a-functional		Fail
igt@kms_universal_plane@universal-plane-pipe-a-sanity		Pass
igt@kms_universal_plane@universal-plane-pipe-b-functional		Fail
igt@kms_universal_plane@universal-plane-pipe-b-sanity		Pass
igt@kms_universal_plane@universal-plane-pipe-c-functional		Fail
igt@kms_universal_plane@universal-plane-pipe-c-sanity		Pass

Hardware:
Platform: SKY LAKE Y A0 
CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78  stepping: 3)
MCP : SKL-Y  D1 2+2 (ou ULX-D1)
QDF : QJK9 
CPU : SKL D0
Chipset PCH: Sunrise Point LP C1       
CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2
Reworks : All Mandatories + FBS02,FBS03, F23, O-02 & O-06
Software
Linux : Ubuntu 14.04 LTS 64 bits
BIOS : SKLSE2R1.R00.X097.B02.1509020030
ME FW : 11.0.0.1173
Ksc (EC FW): 1.19

kernel 4.3.0-rc3-drm-intel-nightly+ (eb69e51) from git://anongit.freedesktop.org/drm-intel
Mesa - 11.0.2 from http://cgit.freedesktop.org/mesa/mesa/
xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm - 2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Libva - 1.6.1 from http://cgit.freedesktop.org/libva/
vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver
Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo
Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Comment 3 Jari Tahvanainen 2017-04-24 11:32:38 UTC
Please retest with the latest kernel (preferable from drm-tip) and mark status=REOPENED if problem still persist.
Comment 4 Elizabeth 2017-06-08 19:39:20 UTC
With this setting the tests are now passing. The bug will be close as fix.

========== Find Hardware information on specs.cfg ==========

========== Kernel Information==========
commit fb550f86433515f36a0de161631541ec114581e3
Author:     Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
AuthorDate: Fri May 5 20:34:32 2017 +0200
Commit:     Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
CommitDate: Fri May 5 20:34:32 2017 +0200

    drm-tip: 2017y-05m-05d-18h-33m-52s UTC integration manifest

diff --git a/integration-manifest b/integration-manifest
new file mode 100644
index 0000000..7fa8c5f
--- /dev/null
+++ b/integration-manifest
@@ -0,0 +1,22 @@
+drm-intel drm-intel-fixes a351e9b9fc24e982ec2f0e76379a49826036da12
+	Linux 4.11
+drm-upstream drm-fixes 2ca62d8a606a95e098799f128f6a40a6300d2a2a
+	Merge branch 'linux-4.11' of git://github.com/skeggsb/linux into drm-fixes
+drm-intel drm-intel-next-fixes 88326ef05b262f681d837ecf65db10a7edb609f1
+	drm/i915: Confirm the request is still active before adding it to the await
+drm-intel drm-intel-next-queued 6f38123ecaac446312a63523b68df84ceb5a06ed
+	drm/i915: Fix rawclk readout for g4x
+drm-upstream drm-next 644b4930bf7e2adeffbe842e1097f7933c6a9158
+	Merge tag 'drm/tegra/for-4.12-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
+sound-upstream for-next a5c3b32a1146e44f6b38fdfdfffc27842953420c
+	Merge tag 'asoc-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
+sound-upstream for-linus a5c3b32a1146e44f6b38fdfdfffc27842953420c
+	Merge tag 'asoc-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
+drm-intel topic/core-for-CI cf3f869465ebc018af4bd9c85b9c61df680f12e2
+	drm/i915: Prevent the system suspend complete optimization
+drm-misc drm-misc-next f424f55e31779bdc2389db9115fca65c553f8558
+	drm/i915: Track MST link bandwidth
+drm-misc drm-misc-next-fixes e345da82bd6bdfa8492f80b3ce4370acfd868d95
+	drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2
+drm-misc drm-misc-fixes 0c45b36f8acc89cb94c8696a27574f01e0e411dc
+	drm/udl: Fix unaligned memory access in udl_render_hline

========== Software Information ==========
Component: drm
Url      : https://anongit.freedesktop.org/git/mesa/drm.git
Tag      : libdrm-2.4.80-7-g2ee1fd2
Commit   : 2ee1fd2470e96473f27080c01c5ecd710a6ab6c8
Author   : Eric Anholt <eric@anholt.net>
Age      : Tue Apr 25 16:10:38 2017 -0700 5 days ago

Component: cairo
Url      : https://anongit.freedesktop.org/git/cairo
Tag      : 1.15.4-19-ga3cc46d
Commit   : a3cc46d2ccba44a538d05f0c5870b1a82f046350
Author   : Andrea Canciani <ranma42@gmail.com>
Age      : Tue Apr 25 18:06:14 2017 +0200 6 days ago

Component: intel-gpu-tools
Url      : https://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Tag      : intel-gpu-tools-1.18-113-g529c0d1
Commit   : 529c0d1ca48b6e71897b57cadfb59b349cc96e6a
Author   : Chris Wilson <chris@chris-wilson.co.uk>
Age      : Thu Apr 27 13:39:31 2017 +0100 4 days ago

Component: piglit
Url      : http://anongit.freedesktop.org/git/piglit.git
Tag      : piglit-v1
Commit   : 779e9beb318ce5e8d7396cd39f1958b05a602152
Author   : Tapani Pälli <tapani.palli@intel.com>
Age      : Thu Apr 27 09:06:00 2017 +0300 4 days ago

====================

Ubuntu 16.10 yakkety


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.