Re: [BUG] WARNING: at drivers/gpu/drm/i915/intel_display.c:901 assert_panel_unlocked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 13, 2012 at 10:07:16AM +0000, Dave Airlie wrote:
> Intel guys?
> 
> this is the sort of thing that is dropping between cracks.
> 
> Please follow up on bug reports.

Sorry for missing this one here.

> > I have been experiencing problems with suspend/resume on my ThinkPad
> > x60 for some time (sorry for being vague, I forget when it started).
> > With 3.1 it seems to behave much better (no crashes).
> >
> > The problems I'm still seeing is that sometimes the computer does not
> > suspend when closing the lid, but manually using "pm-suspend" always
> > works. Opening the lid again after a failed suspend causes it to
> > flicker briefly and then continue working as before.

Well if pm-suspend works but lid closing is not reliable I think the
most likely explanation ist that the lid events gets lost somewhere. Is
there anything in dmesg after a failed suspend attempt?

The flickering when re-opening the lid is annoying but somewhat expected -
we switch off the panel uncoditionally when closing the lid.

> > I receive the following warning in dmesg (after both successful and
> > unsuccessful suspends):

This one is pretty interesting - obviously we still have issues with the
panel unlocking. Can you please boot with drm.debug=0xe and attach the
full dmesg after one suspend/resume cycle?

Thanks, Daniel

> >
> > [24395.487631] ------------[ cut here ]------------
> > [24395.487659] WARNING: at drivers/gpu/drm/i915/intel_display.c:901
> > assert_panel_unlocked.isra.22+0x242/0x280 [i915]()
> > [24395.487664] Hardware name: 1706GMG
> > [24395.487667] panel assertion failure, pipe B regs locked
> > [24395.487671] Modules linked in: ext2 msr cpufreq_stats ext4 mbcache
> > jbd2 microcode sbs sbshc max6650 coretemp kvm_intel kvm acpi_cpufreq
> > freq_table mperf i915 drm_kms_helper cryptd drm aes_x86_64 iTCO_wdt
> > aes_generic ecb iTCO_vendor_support btusb bluetooth crc16 mmc_block
> > e1000e thinkpad_acpi uhci_hcd firewire_ohci firewire_core intel_agp
> > pata_acpi i2c_algo_bit arc4 sdhci_pci sdhci snd_hda_codec_analog
> > ata_generic intel_gtt snd_hda_intel snd_hda_codec iwl3945 iwl_legacy
> > i2c_i801 snd_hwdep snd_pcm ehci_hcd snd_timer mac80211 snd psmouse
> > mmc_core i2c_core processor video nvram ata_piix usbcore thermal ac
> > button battery evdev soundcore cfg80211 snd_page_alloc serio_raw
> > crc_itu_t rfkill autofs4 btrfs zlib_deflate crc32c libcrc32c sd_mod
> > ahci libahci libata scsi_mod
> > [24395.487772] Pid: 7975, comm: kworker/u:5 Tainted: G        W
> > 3.1.1-1-ARCH #1
> > [24395.487777] Call Trace:
> > [24395.487791]  [<ffffffff81061b9f>] warn_slowpath_common+0x7f/0xc0
> > [24395.487798]  [<ffffffff81061c96>] warn_slowpath_fmt+0x46/0x50
> > [24395.487814]  [<ffffffffa0563d42>]
> > assert_panel_unlocked.isra.22+0x242/0x280 [i915]
> > [24395.487830]  [<ffffffffa056d686>] i9xx_crtc_enable+0xa6/0x4c0 [i915]
> > [24395.487838]  [<ffffffff8122f754>] ? snprintf+0x34/0x40
> > [24395.487852]  [<ffffffffa056daae>] i9xx_crtc_commit+0xe/0x10 [i915]
> > [24395.487861]  [<ffffffffa0394019>]
> > drm_crtc_helper_set_mode+0x3b9/0x4f0 [drm_kms_helper]
> > [24395.487873]  [<ffffffffa03941c3>]
> > drm_helper_resume_force_mode+0x73/0x160 [drm_kms_helper]
> > [24395.487887]  [<ffffffffa040dc73>] ? drm_irq_install+0x153/0x260 [drm]
> > [24395.487899]  [<ffffffffa051b1aa>] i915_drm_thaw+0xca/0x110 [i915]
> > [24395.487909]  [<ffffffffa051b4ee>] i915_resume+0x4e/0x80 [i915]
> > [24395.487927]  [<ffffffffa051b536>] i915_pm_resume+0x16/0x20 [i915]
> > [24395.487931]  [<ffffffff8124da76>] pci_pm_resume+0x76/0xd0
> > [24395.487936]  [<ffffffff812f7717>] pm_op+0xe7/0x1c0
> > [24395.487939]  [<ffffffff812f7baf>] device_resume+0x9f/0x140
> > [24395.487943]  [<ffffffff8108cb20>] ? async_schedule+0x20/0x20
> > [24395.487946]  [<ffffffff812f7c71>] async_resume+0x21/0x50
> > [24395.487949]  [<ffffffff8108cb9f>] async_run_entry_fn+0x7f/0x180
> > [24395.487953]  [<ffffffff8107eff6>] process_one_work+0x116/0x4d0
> > [24395.487956]  [<ffffffff8107f98e>] worker_thread+0x15e/0x350
> > [24395.487959]  [<ffffffff8107f830>] ? manage_workers.isra.29+0x230/0x230
> > [24395.487962]  [<ffffffff8108462c>] kthread+0x8c/0xa0
> > [24395.487966]  [<ffffffff8140c5b4>] kernel_thread_helper+0x4/0x10
> > [24395.487969]  [<ffffffff810845a0>] ? kthread_worker_fn+0x190/0x190
> > [24395.487972]  [<ffffffff8140c5b0>] ? gs_change+0x13/0x13
> > [24395.487974] ---[ end trace 1d476bd6e1af4e33 ]---
> >
> > The kernel is mostly unpatched, but the few patches it has (as well as
> > its .config) can be found here:
> > <http://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/linux>.
> >
> > Please let me know if you require more information.
> >
> > Thanks for your time,
> >
> > Tom
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/dri-devel
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Mail: daniel@xxxxxxxx
Mobile: +41 (0)79 365 57 48
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux