[Intel-gfx] Warning in intel_pm.c when connecting HDMI display after suspend to ram (3.16-rc)

Calvin Walton calvin.walton at kepstin.ca
Sun Jul 13 14:38:29 CEST 2014


Hi all,

While testing a recent 3.16 rc kernel, I had the following warnings
appear when I connected an HDMI display (via a passive HDMI-miniDP
dongle) to my Haswell ThinkPad. These occurred after a suspend-resume
cycle; when I tried it on a clean reboot everything worked correctly.

When these warnings appeared, the video worked, but HDMI audio was not
functional. When I tried again on a clean reboot, the HDMI audio worked
correctly. I tried connecting the display multiple times, I believe this
is why the warning shows up twice.

I've attached the full kernel log.

Note that the git hash of my kernel won't be in Linus's tree; I've
manually applied Michael Brown's fixes for PE/COFF .bss section &
alignment to fix EFI boot stub loading. My kernel is
67b9d76f9e2f9f87f94a11521cc996dc2e43ce14 plus those two EFI patches.

[ 6286.933946] sasami kernel: ------------[ cut here ]------------
[ 6286.933953] sasami kernel: WARNING: CPU: 0 PID: 404 at drivers/gpu/drm/i915/intel_pm.c:5997 intel_display_power_put+0x12f/0x160()
[ 6286.933954] sasami kernel: Modules linked in: fuse snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi bnep sch_fq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev iwlmvm ecb snd_hda_intel btusb iTCO_wdt snd_hda_controller bluetooth snd_hda_codec e1000e 6lowpan_iphc lpc_ich ptp snd_hwdep snd_pcm iwlwifi pps_core rtsx_pci_sdmmc mmc_core rtsx_pci mfd_core autofs4
[ 6286.933970] sasami kernel: CPU: 0 PID: 404 Comm: Xorg Not tainted 3.16.0-rc4-00136-g95cde3a #19
[ 6286.933971] sasami kernel: Hardware name: LENOVO 20ANCTO1WW/20ANCTO1WW, BIOS GLET70WW (2.24 ) 05/21/2014
[ 6286.933972] sasami kernel:  0000000000000009 ffff88043983bab0 ffffffff81811677 0000000000000000
[ 6286.933974] sasami kernel:  ffff88043983bae8 ffffffff810ad748 ffff88043909002c ffff880439090000
[ 6286.933975] sasami kernel:  ffff88044cfad368 ffff880439098490 ffff880439090000 ffff88043983baf8
[ 6286.933977] sasami kernel: Call Trace:
[ 6286.933981] sasami kernel:  [<ffffffff81811677>] dump_stack+0x4d/0x6f
[ 6286.933985] sasami kernel:  [<ffffffff810ad748>] warn_slowpath_common+0x78/0xa0
[ 6286.933987] sasami kernel:  [<ffffffff810ad825>] warn_slowpath_null+0x15/0x20
[ 6286.933988] sasami kernel:  [<ffffffff814b1ccf>] intel_display_power_put+0x12f/0x160
[ 6286.933991] sasami kernel:  [<ffffffff814f9014>] modeset_update_crtc_power_domains+0x204/0x210
[ 6286.933993] sasami kernel:  [<ffffffff814f9029>] haswell_modeset_global_resources+0x9/0x10
[ 6286.933995] sasami kernel:  [<ffffffff814f9b54>] __intel_set_mode+0x614/0x15b0
[ 6286.933998] sasami kernel:  [<ffffffff810dbf36>] ? try_to_wake_up+0x1f6/0x360
[ 6286.934000] sasami kernel:  [<ffffffff814fd121>] intel_set_mode+0x11/0x30
[ 6286.934001] sasami kernel:  [<ffffffff814fdfed>] intel_crtc_set_config+0x8dd/0xda0
[ 6286.934005] sasami kernel:  [<ffffffff81494a31>] drm_mode_set_config_internal+0x61/0xe0
[ 6286.934007] sasami kernel:  [<ffffffff814982ff>] drm_mode_setcrtc+0xcf/0x580
[ 6286.934009] sasami kernel:  [<ffffffff8148953c>] drm_ioctl+0x19c/0x630
[ 6286.934012] sasami kernel:  [<ffffffff811bee90>] do_vfs_ioctl+0x2e0/0x4c0
[ 6286.934015] sasami kernel:  [<ffffffff811c8759>] ? __fget+0x69/0xb0
[ 6286.934016] sasami kernel:  [<ffffffff811bf0ac>] SyS_ioctl+0x3c/0x80
[ 6286.934019] sasami kernel:  [<ffffffff8181a952>] system_call_fastpath+0x16/0x1b
[ 6286.934020] sasami kernel: ---[ end trace 679eec307a514f0f ]---

[ 6459.811852] sasami kernel: ------------[ cut here ]------------
[ 6459.811859] sasami kernel: WARNING: CPU: 0 PID: 404 at drivers/gpu/drm/i915/intel_pm.c:5997 intel_display_power_put+0x12f/0x160()
[ 6459.811860] sasami kernel: Modules linked in: fuse snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi bnep sch_fq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev iwlmvm ecb snd_hda_intel btusb iTCO_wdt snd_hda_controller bluetooth snd_hda_codec e1000e 6lowpan_iphc lpc_ich ptp snd_hwdep snd_pcm iwlwifi pps_core rtsx_pci_sdmmc mmc_core rtsx_pci mfd_core autofs4
[ 6459.811877] sasami kernel: CPU: 0 PID: 404 Comm: Xorg Tainted: G        W     3.16.0-rc4-00136-g95cde3a #19
[ 6459.811878] sasami kernel: Hardware name: LENOVO 20ANCTO1WW/20ANCTO1WW, BIOS GLET70WW (2.24 ) 05/21/2014
[ 6459.811879] sasami kernel:  0000000000000009 ffff88043983bab0 ffffffff81811677 0000000000000000
[ 6459.811880] sasami kernel:  ffff88043983bae8 ffffffff810ad748 ffff88043909002c ffff880439090000
[ 6459.811882] sasami kernel:  ffff88044cfad368 ffff880439098490 ffff880439090000 ffff88043983baf8
[ 6459.811883] sasami kernel: Call Trace:
[ 6459.811887] sasami kernel:  [<ffffffff81811677>] dump_stack+0x4d/0x6f
[ 6459.811891] sasami kernel:  [<ffffffff810ad748>] warn_slowpath_common+0x78/0xa0
[ 6459.811893] sasami kernel:  [<ffffffff810ad825>] warn_slowpath_null+0x15/0x20
[ 6459.811894] sasami kernel:  [<ffffffff814b1ccf>] intel_display_power_put+0x12f/0x160
[ 6459.811898] sasami kernel:  [<ffffffff814f9014>] modeset_update_crtc_power_domains+0x204/0x210
[ 6459.811899] sasami kernel:  [<ffffffff814f9029>] haswell_modeset_global_resources+0x9/0x10
[ 6459.811901] sasami kernel:  [<ffffffff814f9b54>] __intel_set_mode+0x614/0x15b0
[ 6459.811903] sasami kernel:  [<ffffffff814fd81a>] ? intel_crtc_set_config+0x10a/0xda0
[ 6459.811904] sasami kernel:  [<ffffffff814fd121>] intel_set_mode+0x11/0x30
[ 6459.811906] sasami kernel:  [<ffffffff814fdfed>] intel_crtc_set_config+0x8dd/0xda0
[ 6459.811909] sasami kernel:  [<ffffffff81494a31>] drm_mode_set_config_internal+0x61/0xe0
[ 6459.811911] sasami kernel:  [<ffffffff814982ff>] drm_mode_setcrtc+0xcf/0x580
[ 6459.811914] sasami kernel:  [<ffffffff8148953c>] drm_ioctl+0x19c/0x630
[ 6459.811916] sasami kernel:  [<ffffffff811bee90>] do_vfs_ioctl+0x2e0/0x4c0
[ 6459.811919] sasami kernel:  [<ffffffff811c8759>] ? __fget+0x69/0xb0
[ 6459.811921] sasami kernel:  [<ffffffff811bf0ac>] SyS_ioctl+0x3c/0x80
[ 6459.811923] sasami kernel:  [<ffffffff8181a952>] system_call_fastpath+0x16/0x1b
[ 6459.811924] sasami kernel: ---[ end trace 679eec307a514f10 ]---

-- 
Calvin Walton <calvin.walton at kepstin.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intel-warning-after-suspend.log
Type: text/x-log
Size: 113937 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140713/77b86a57/attachment.bin>


More information about the Intel-gfx mailing list