Skip to contentSkip to conversation

drm/i915: new warning (regression) in 3.7.10 and 3.8.3

DISCUSSION Richard Cochran 2 participants 3 messages Mar 16, 2013 – Mar 19, 2013

lore
Share & tools
lore
#0 lore raw

I have an Acer Aspire One netbook, and on it I get the following warning when closing and opening the lid. I think this warning first appeared in 3.7.

Does this need fixing? If so, who can do it?

Thanks,
Richard

** close lid

Mar 16 11:32:03 netboy kernel: [  287.429404] [drm:i9xx_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Mar 16 11:32:03 netboy kernel: [  287.429440] ------------[ cut here ]------------
Mar 16 11:32:03 netboy kernel: [  287.429526] WARNING: at /home/richard/git/linux/drivers/gpu/drm/i915/intel_display.c:7877 intel_modeset_check_state+0x2f8/0x452 [i915]()
Mar 16 11:32:03 netboy kernel: [  287.429537] Hardware name: AOD257
Mar 16 11:32:03 netboy kernel: [  287.429548] encoder's hw state doesn't match sw tracking (expected 1, found 0)
Mar 16 11:32:03 netboy kernel: [  287.429556] Modules linked in: mmc_block bluetooth crc16 cpufreq_stats cpufreq_userspace cpufreq_powersave cpufreq_conservative uinput fuse loop snd_hda_codec_realtek joydev arc4 iwldvm snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm mac80211 i915 snd_timer snd iwlwifi cfg80211 tpm_tis psmouse serio_raw drm_kms_helper tpm i2c_i801 soundcore evdev hid_generic drm i2c_algo_bit video pcspkr tpm_bios i2c_core ehci_pci snd_page_alloc acpi_cpufreq mperf battery ac rfkill wmi processor button ext3 jbd mbcache sd_mod crc_t10dif usbhid hid rtsx_pci_sdmmc mmc_core ahci libahci libata scsi_mod uhci_hcd ehci_hcd usbcore usb_common thermal thermal_sys rtsx_pci mfd_core r8169 mii
Mar 16 11:32:03 netboy kernel: [  287.429771] Pid: 34, comm: kworker/0:1 Not tainted 3.8.3 #74
Mar 16 11:32:03 netboy kernel: [  287.429781] Call Trace:
Mar 16 11:32:03 netboy kernel: [  287.429808]  [<c102623a>] ? warn_slowpath_common+0x6a/0x7b
Mar 16 11:32:03 netboy kernel: [  287.429882]  [<f859e387>] ? intel_modeset_check_state+0x2f8/0x452 [i915]
Mar 16 11:32:03 netboy kernel: [  287.429904]  [<c10262b1>] ? warn_slowpath_fmt+0x28/0x2c
Mar 16 11:32:03 netboy kernel: [  287.429975]  [<f859e387>] ? intel_modeset_check_state+0x2f8/0x452 [i915]
Mar 16 11:32:03 netboy kernel: [  287.430017]  [<f85a429c>] ? intel_set_mode+0x61a/0x6aa [i915]
Mar 16 11:32:03 netboy kernel: [  287.430162]  [<f85a42d6>] ? intel_set_mode+0x654/0x6aa [i915]
Mar 16 11:32:03 netboy kernel: [  287.430290]  [<f85a85ea>] ? intel_modeset_setup_hw_state+0x5e0/0x70a [i915]
Mar 16 11:32:03 netboy kernel: [  287.430386]  [<f85a9bd4>] ? intel_lid_notify+0x7a/0x8a [i915]
Mar 16 11:32:03 netboy kernel: [  287.430409]  [<c12e2baf>] ? notifier_call_chain+0x23/0x46
Mar 16 11:32:03 netboy kernel: [  287.430449]  [<c1041912>] ? __blocking_notifier_call_chain+0x39/0x4c
Mar 16 11:32:03 netboy kernel: [  287.430470]  [<c104192e>] ? blocking_notifier_call_chain+0x9/0xc
Mar 16 11:32:03 netboy kernel: [  287.430500]  [<f82300b7>] ? acpi_lid_send_state+0x7d/0xa0 [button]
Mar 16 11:32:03 netboy kernel: [  287.430532]  [<f823011d>] ? acpi_button_notify+0x2b/0x95 [button]
Mar 16 11:32:03 netboy kernel: [  287.430557]  [<c11aaa17>] ? acpi_device_notify+0xf/0x11
Mar 16 11:32:03 netboy kernel: [  287.430578]  [<c11b5ef1>] ? acpi_ev_notify_dispatch+0x2b/0x42
Mar 16 11:32:03 netboy kernel: [  287.430597]  [<c11a8002>] ? acpi_os_execute_deferred+0x18/0x21
Mar 16 11:32:03 netboy kernel: [  287.430617]  [<c103a099>] ? process_one_work+0x1b1/0x27e
Mar 16 11:32:03 netboy kernel: [  287.430637]  [<c103a27b>] ? worker_thread+0x115/0x203
Mar 16 11:32:03 netboy kernel: [  287.430656]  [<c103a166>] ? process_one_work+0x27e/0x27e
Mar 16 11:32:03 netboy kernel: [  287.430672]  [<c103d2cb>] ? kthread+0x8d/0x92
Mar 16 11:32:03 netboy kernel: [  287.430691]  [<c12e51f7>] ? ret_from_kernel_thread+0x1b/0x28
Mar 16 11:32:03 netboy kernel: [  287.430707]  [<c103d23e>] ? kthread_freezable_should_stop+0x4b/0x4b
Mar 16 11:32:03 netboy kernel: [  287.430720] ---[ end trace 4a7da2dcc2431943 ]---

** open lid

Mar 16 11:32:03 netboy kernel: [  287.430746] ------------[ cut here ]------------
Mar 16 11:32:03 netboy kernel: [  287.430849] WARNING: at /home/richard/git/linux/drivers/gpu/drm/i915/intel_display.c:7911 intel_modeset_check_state+0x3f3/0x452 [i915]()
Mar 16 11:32:03 netboy kernel: [  287.430889] Hardware name: AOD257
Mar 16 11:32:03 netboy kernel: [  287.430928] crtc's computed active state doesn't match tracked active state (expected 1, found 0)
Mar 16 11:32:03 netboy kernel: [  287.430964] Modules linked in: mmc_block bluetooth crc16 cpufreq_stats cpufreq_userspace cpufreq_powersave cpufreq_conservative uinput fuse loop snd_hda_codec_realtek joydev arc4 iwldvm snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm mac80211 i915 snd_timer snd iwlwifi cfg80211 tpm_tis psmouse serio_raw drm_kms_helper tpm i2c_i801 soundcore evdev hid_generic drm i2c_algo_bit video pcspkr tpm_bios i2c_core ehci_pci snd_page_alloc acpi_cpufreq mperf battery ac rfkill wmi processor button ext3 jbd mbcache sd_mod crc_t10dif usbhid hid rtsx_pci_sdmmc mmc_core ahci libahci libata scsi_mod uhci_hcd ehci_hcd usbcore usb_common thermal thermal_sys rtsx_pci mfd_core r8169 mii
Mar 16 11:32:03 netboy kernel: [  287.431233] Pid: 34, comm: kworker/0:1 Tainted: G        W    3.8.3 #74
Mar 16 11:32:03 netboy kernel: [  287.431243] Call Trace:
Mar 16 11:32:03 netboy kernel: [  287.431267]  [<c102623a>] ? warn_slowpath_common+0x6a/0x7b
Mar 16 11:32:03 netboy kernel: [  287.431342]  [<f859e482>] ? intel_modeset_check_state+0x3f3/0x452 [i915]
Mar 16 11:32:03 netboy kernel: [  287.431363]  [<c10262b1>] ? warn_slowpath_fmt+0x28/0x2c
Mar 16 11:32:03 netboy kernel: [  287.431439]  [<f859e482>] ? intel_modeset_check_state+0x3f3/0x452 [i915]
Mar 16 11:32:03 netboy kernel: [  287.431513]  [<f85a429c>] ? intel_set_mode+0x61a/0x6aa [i915]
Mar 16 11:32:03 netboy kernel: [  287.431640]  [<f85a42d6>] ? intel_set_mode+0x654/0x6aa [i915]
Mar 16 11:32:03 netboy kernel: [  287.431740]  [<f85a85ea>] ? intel_modeset_setup_hw_state+0x5e0/0x70a [i915]
Mar 16 11:32:03 netboy kernel: [  287.431817]  [<f85a9bd4>] ? intel_lid_notify+0x7a/0x8a [i915]
Mar 16 11:32:03 netboy kernel: [  287.431841]  [<c12e2baf>] ? notifier_call_chain+0x23/0x46
Mar 16 11:32:03 netboy kernel: [  287.431877]  [<c1041912>] ? __blocking_notifier_call_chain+0x39/0x4c
Mar 16 11:32:03 netboy kernel: [  287.431898]  [<c104192e>] ? blocking_notifier_call_chain+0x9/0xc
Mar 16 11:32:03 netboy kernel: [  287.431927]  [<f82300b7>] ? acpi_lid_send_state+0x7d/0xa0 [button]
Mar 16 11:32:03 netboy kernel: [  287.431985]  [<f823011d>] ? acpi_button_notify+0x2b/0x95 [button]
Mar 16 11:32:03 netboy kernel: [  287.432068]  [<c11aaa17>] ? acpi_device_notify+0xf/0x11
Mar 16 11:32:03 netboy kernel: [  287.432090]  [<c11b5ef1>] ? acpi_ev_notify_dispatch+0x2b/0x42
Mar 16 11:32:03 netboy kernel: [  287.432109]  [<c11a8002>] ? acpi_os_execute_deferred+0x18/0x21
Mar 16 11:32:03 netboy kernel: [  287.432129]  [<c103a099>] ? process_one_work+0x1b1/0x27e
Mar 16 11:32:03 netboy kernel: [  287.432146]  [<c103a27b>] ? worker_thread+0x115/0x203
Mar 16 11:32:03 netboy kernel: [  287.432165]  [<c103a166>] ? process_one_work+0x27e/0x27e
Mar 16 11:32:03 netboy kernel: [  287.432182]  [<c103d2cb>] ? kthread+0x8d/0x92
Mar 16 11:32:03 netboy kernel: [  287.432203]  [<c12e51f7>] ? ret_from_kernel_thread+0x1b/0x28
Mar 16 11:32:03 netboy kernel: [  287.432250]  [<c103d23e>] ? kthread_freezable_should_stop+0x4b/0x4b
Mar 16 11:32:03 netboy kernel: [  287.432288] ---[ end trace 4a7da2dcc2431944 ]---
#1 lore raw
Quoted 6 lines · Richard Cochran

I have an Acer Aspire One netbook, and on it I get the following warning when closing and opening the lid. I think this warning first appeared in 3.7.

Does this need fixing? If so, who can do it?

Another pesky BIOS which changes the display state behind our back on lid closing! Should be duct-tapped over with

commit 45e2b5f640b3766da3eda48f6c35f088155c06f3

Author: Daniel Vetter <[email protected]>
Date:   Fri Nov 23 18:16:34 2012 +0100

drm/i915: force restore on lid open

which is in 3.8.

Cheers, Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#2 lore raw
Quoted 11 lines · Daniel Vetter

Another pesky BIOS which changes the display state behind our back on lid closing! Should be duct-tapped over with

commit 45e2b5f640b3766da3eda48f6c35f088155c06f3

Author: Daniel Vetter <[email protected]>
Date:   Fri Nov 23 18:16:34 2012 +0100

drm/i915: force restore on lid open

which is in 3.8.

But that warning was from a 3.8.3 kernel. Any other ideas?

Thanks,
Richard