Bug 86373 - [BSW Regression]igt/kms_flip/bcs-flip-vs-panning fails
Summary: [BSW Regression]igt/kms_flip/bcs-flip-vs-panning fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 07:19 UTC by Guo Jinxian
Modified: 2016-10-05 05:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (123.33 KB, text/plain)
2014-11-17 07:19 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-11-17 07:19:24 UTC
Created attachment 109587 [details]
dmesg

=System Environment==
--------------------------
Regression: Yes,
Good commit on -next-queued:0b5492d6b53251acab99b1906a328fac56e08be3(2014_11_10)

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: e49ebf9ed863e9522260ebd7bd0338ef5641c0e6(fails)
    drm-intel-nightly: 2014y-11m-16d-14h-35m-45s UTC integration manifest
origin/drm-intel-next-queued: cf3d262e39941d8f148148e840c00fcbc35a8e6f(fails)
    drm/i915: Fix comments about CHV snoop behaviour
origin/drm-intel-fixes: bab51d9733964ac7978bd9376b9da54662a1815f(works)
    drm/i915: Kick fbdev before vgacon

==Bug detailed description==
igt/kms_flip/bcs-flip-vs-panning fails

Output:
[root@x-bsw01 tests]# ./kms_flip --run-subtest bcs-flip-vs-panning 
IGT-Version: 1.8-gaa63fc7 (x86_64) (Linux: 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ x86_64) 
Using monotonic timestamps 
Beginning bcs-flip-vs-panning on crtc 8, connector 29 
1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 
Test assertion failure function wait_for_events, file kms_flip.c:1165: 
Failed assertion: ret > 0 
select timed out or error (ret 0) 
Subtest bcs-flip-vs-panning: FAIL (183.460s) 
[root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm 
<4>[ 1122.395292] WARNING: CPU: 1 PID: 3891 at drivers/gpu/drm/drm_irq.c:1090 drm_wait_one_vblank+0x10e/0x16c [drm]() 
<4>[ 1122.395300] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables ipv6 snd_hda_codec_hdmi dm_mod iTCO_wdt snd_hda_codec_realtek snd_hda_codec_generic iTCO_vendor_support pcspkr serio_raw i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore battery ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea option usb_wwan usbserial 
<4>[ 1122.395357] CPU: 1 PID: 3891 Comm: kms_flip Tainted: G W 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ #1630 
<4>[ 1122.395422] [<ffffffffa007baa3>] ? drm_wait_one_vblank+0x10e/0x16c [drm] 
<4>[ 1122.395455] [<ffffffffa007baa3>] ? drm_wait_one_vblank+0x10e/0x16c [drm] 
<4>[ 1122.395604] [<ffffffffa0081f31>] ? drm_mode_set_config_internal+0x4e/0xd2 [drm] 
<4>[ 1122.395622] [<ffffffffa0085a2a>] ? drm_mode_setcrtc+0x3e9/0x48e [drm] 
<4>[ 1122.395638] [<ffffffffa007a738>] ? drm_ioctl+0x279/0x3bc [drm] 
<4>[ 1122.395662] [<ffffffffa0085641>] ? drm_mode_setplane+0x1ce/0x1ce [drm] 
<4>[ 1364.266238] WARNING: CPU: 3 PID: 3891 at drivers/gpu/drm/i915/intel_display.c:3555 intel_crtc_wait_for_pending_flips+0xe7/0x1a8 [i915]() 
<4>[ 1364.266274] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables ipv6 snd_hda_codec_hdmi dm_mod iTCO_wdt snd_hda_codec_realtek snd_hda_codec_generic iTCO_vendor_support pcspkr serio_raw i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore battery ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea option usb_wwan usbserial 
<4>[ 1364.266281] CPU: 3 PID: 3891 Comm: kms_flip Tainted: G W 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ #1630 
<4>[ 1364.266567] [<ffffffffa0081f31>] ? drm_mode_set_config_internal+0x4e/0xd2 [drm] 
<4>[ 1364.266576] [<ffffffffa00cab63>] ? restore_fbdev_mode+0xa8/0xc1 [drm_kms_helper] 
<4>[ 1364.266584] [<ffffffffa00cab99>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper] 
<4>[ 1364.266591] [<ffffffffa00cb41d>] ? drm_fb_helper_set_par+0x32/0x51 [drm_kms_helper] 
<4>[ 1364.266667] [<ffffffffa007a77d>] ? drm_ioctl+0x2be/0x3bc [drm] 
<4>[ 1364.366188] WARNING: CPU: 3 PID: 3891 at drivers/gpu/drm/drm_irq.c:1090 drm_wait_one_vblank+0x10e/0x16c [drm]() 
<4>[ 1364.366222] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables ipv6 snd_hda_codec_hdmi dm_mod iTCO_wdt snd_hda_codec_realtek snd_hda_codec_generic iTCO_vendor_support pcspkr serio_raw i2c_i801 snd_hda_intel lpc_ich snd_hda_controller mfd_core snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore battery ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea option usb_wwan usbserial 
<4>[ 1364.366228] CPU: 3 PID: 3891 Comm: kms_flip Tainted: G W 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ #1630 
<4>[ 1364.366274] [<ffffffffa007baa3>] ? drm_wait_one_vblank+0x10e/0x16c [drm] 
<4>[ 1364.366299] [<ffffffffa007baa3>] ? drm_wait_one_vblank+0x10e/0x16c [drm] 
<4>[ 1364.366442] [<ffffffffa0081f31>] ? drm_mode_set_config_internal+0x4e/0xd2 [drm] 
<4>[ 1364.366450] [<ffffffffa00cab63>] ? restore_fbdev_mode+0xa8/0xc1 [drm_kms_helper] 
<4>[ 1364.366458] [<ffffffffa00cab99>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x1d/0x34 [drm_kms_helper] 
<4>[ 1364.366466] [<ffffffffa00cb41d>] ? drm_fb_helper_set_par+0x32/0x51 [drm_kms_helper] 
<4>[ 1364.366541] [<ffffffffa007a77d>] ? drm_ioctl+0x2be/0x3bc [drm] 
<3>[ 1364.819075] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun 
<3>[ 1366.852332] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun 
<3>[ 1366.857676] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun

==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest bcs-flip-vs-panning
Comment 1 Guo Jinxian 2014-12-02 07:52:53 UTC
 WARNING: CPU: 1 PID: 3891 at drivers/gpu/drm/drm_irq.c:1090 drm_wait_one_vblank+0x10e/0x16c [drm]()  unable to reproduce on latest -nightly(691817ae2a8f37cb1df33f21a6dd1c15a8832693).

About another warning " WARNING: CPU: 2 PID: 3862 at drivers/gpu/drm/i915/intel_display.c:3624 intel_crtc_wait_for_pending_flips+0x121/0x1a8 [i915]()
", tracked by bug 83759. Close this one.
Comment 2 Jari Tahvanainen 2016-10-05 05:30:56 UTC
Closing verified+fixed.


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.