Summary: | [BSW Regression]igt/kms_flip/vblank-vs-modeset-rpm and pm_rpm cause reg read while suspended | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> | ||||
Component: | DRM/Intel | Assignee: | Antti Koskipaa <antti.koskipaa> | ||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | normal | ||||||
Priority: | highest | CC: | intel-gfx-bugs | ||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
The failure is able to reproduce on latest nightly() while running tests below: igt/pm_rpm/dpms-lpsp igt/pm_rpm/dpms-mode-unset-lpsp igt/pm_rpm/drm-resources-equal igt/pm_rpm/fences igt/pm_rpm/gem-execbuf igt/pm_rpm/gem-mmap-cpu igt/pm_rpm/gem-mmap-gtt igt/pm_rpm/gem-pread igt/pm_rpm/i2c igt/pm_rpm/modeset-lpsp igt/pm_rpm/modeset-lpsp-stress igt/pm_rpm/pci-d3-state igt/pm_rpm/rte [root@x-bsw01 tests]# ./pm_rpm --run-subtest dpms-lpsp IGT-Version: 1.8-g137877f (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ x86_64) Runtime PM support: 1 PC8 residency support: 0 Subtest dpms-lpsp: SUCCESS (3.093s) [root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <4>[15127.251222] WARNING: CPU: 2 PID: 10554 at drivers/gpu/drm/i915/intel_uncore.c:47 chv_read32+0x20/0x224 [i915]() <4>[15127.251228] Modules linked in: dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw i2c_i801 r8169 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[15127.251272] CPU: 2 PID: 10554 Comm: pm_rpm Not tainted 3.17.0-rc5_drm-intel-nightly_3e5e59_20140918+ #2584 <4>[15127.251751] [<ffffffffa0017fe5>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[15127.251768] [<ffffffffa001ba0e>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[15127.251783] [<ffffffffa001074c>] ? drm_ioctl+0x279/0x3bc [drm] <4>[15127.251807] [<ffffffffa001b628>] ? drm_mode_setplane+0x1ce/0x1ce [drm] I suspect dup of https://bugs.freedesktop.org/show_bug.cgi?id=80465 Could you please retest? Test on latest -nightly kernel and igt, it still happens. When can I expect the bisect? The failure unable to reproduce on latest -nightly(b921a5e434f541c6d96378838df47b4259cc3489). Instead another failures (bug 85908 bug 84359) are appeared. [root@x-bsw01 tests]# ./kms_flip --run-subtest vblank-vs-modeset-rpm IGT-Version: 1.8-gc049c39 (x86_64) (Linux: 3.18.0-rc3_drm-intel-nightly_b921a5_20141109+ x86_64) Using monotonic timestamps Beginning vblank-vs-modeset-rpm on crtc 8, connector 29 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 .... vblank-vs-modeset-rpm on crtc 8, connector 29: PASSED Beginning vblank-vs-modeset-rpm on crtc 13, connector 29 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 ... vblank-vs-modeset-rpm on crtc 13, connector 29: PASSED Subtest vblank-vs-modeset-rpm: SUCCESS (21.843s) [root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <3>[12765.691057] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun <3>[12765.691095] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun <3>[12769.409978] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun <3>[12773.207200] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun <3>[12775.106233] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun <3>[12778.618559] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun <3>[12782.169679] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun <3>[12784.169642] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun <3>[12790.325305] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun <3>[12790.325343] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun [root@x-bsw01 tests]# ./pm_rpm --run-subtest gem-execbuf IGT-Version: 1.8-gc049c39 (x86_64) (Linux: 3.18.0-rc3_drm-intel-nightly_b921a5_20141109+ x86_64) Runtime PM support: 1 PC8 residency support: 0 Subtest gem-execbuf: SUCCESS (6.547s) [root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <3>[13037.023080] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun <3>[13040.240182] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe A underrun <4>[13040.344351] WARNING: CPU: 0 PID: 14501 at drivers/gpu/drm/i915/intel_pm.c:4671 gen8_enable_rps_interrupts+0x34/0x65 [i915]() <4>[13040.344362] dm_mod iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw i2c_i801 lpc_ich mfd_core snd_hda_intel snd_hda_controller 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>[13040.344408] CPU: 0 PID: 14501 Comm: kworker/0:2 Not tainted 3.18.0-rc3_drm-intel-nightly_b921a5_20141109+ #1342 <3>[13045.328641] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* pipe B underrun <3>[13045.328679] [drm:valleyview_pipestat_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun 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.
Created attachment 106121 [details] dmesg ==System Environment== -------------------------- Regression: Yes. Good commit on -next-queued: 17c58fe801f5588c5904cc2f15620f7f5a465b53 Non-working platforms: BSW ==kernel== -------------------------- origin/drm-intel-nightly: 72faa6a63351879b381bd9e4013f38bc94f11999(fails) drm-intel-nightly: 2014y-09m-10d-18h-58m-22s integration manifest origin/drm-intel-next-queued:449b3795f2a48c51ad1714cd5eab0179e37c6a85(fails) drm/i915: create intel_update_pipe_size() origin/drm-intel-fixes: 7a98948f3b536ca9a077e84966ddc0e9f53726df(works) drm/i915: Wait for vblank before enabling the TV encoder ==Bug detailed description== ----------------------------- igt/kms_flip/vblank-vs-modeset-rpm causes "WARNING: CPU: 0 PID: 3894 at drivers/gpu/drm/i915/intel_uncore.c:47 chv_read32+0x20/0x224 [i915]()" Output: [root@x-bsw01 tests]# ./kms_flip --run-subtest vblank-vs-modeset-rpm IGT-Version: 1.8-gd9d3f4b (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ x86_64) Using monotonic timestamps Beginning vblank-vs-modeset-rpm on crtc 8, connector 31 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 .... vblank-vs-modeset-rpm on crtc 8, connector 31: PASSED Beginning vblank-vs-modeset-rpm on crtc 13, connector 31 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 .... vblank-vs-modeset-rpm on crtc 13, connector 31: PASSED Subtest vblank-vs-modeset-rpm: SUCCESS (17.691s) [root@x-bsw01 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm <4>[ 376.093902] [<ffffffffa0017fad>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 376.093920] [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 376.093936] [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 376.093956] [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 376.093970] [<ffffffffa000ec2c>] ? drm_read+0x148/0x16c [drm] <4>[ 376.095428] WARNING: CPU: 0 PID: 3894 at drivers/gpu/drm/i915/intel_uncore.c:47 chv_read32+0x20/0x224 [i915]() <4>[ 376.095437] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm i2c_i801 snd_timer r8169 snd soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[ 376.095487] CPU: 0 PID: 3894 Comm: kms_flip Tainted: G W 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ #2340 <4>[ 376.095893] [<ffffffffa0017fad>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 376.095910] [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 376.095926] [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 376.095943] [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 376.095960] [<ffffffffa000ec2c>] ? drm_read+0x148/0x16c [drm] ==Reproduce steps== ---------------------------- 1. ./kms_flip --run-subtest vblank-vs-modeset-rpm