[Intel-gfx] Warnings on suspend in gen6_gt_force_wake_* on Sandy Bridge

2011-06-16 Thread Andrey Rahmatullin
Hello. I'm trying latest Linus tree (v3.0-rc3-135-g19a1166) and the
suspend process generates lots of WARNINGs from i915 driver, this didn't
happen on 2.6.39 and apparently on 3.0-rc2 too.

The hardware is ASUS K53E with i5 2410M, so the chip is Intel HD 3000. 

A sample warning:

[  182.052219] WARNING: at drivers/gpu/drm/i915/i915_drv.c:322 
gen6_gt_force_wake_get+0x25/0x9e [i915]()
[  182.052224] Hardware name: K53E
[  182.052226] Modules linked in: af_packet rfcomm bnep cpufreq_userspace
cpufreq_stats cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table
mperf uinput fuse nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6
snd_hda_codec_hdmi snd_hda_codec_realtek btusb bluetooth uvcvideo videodev
v4l2_compat_ioctl32 crc16 arc4 i915 drm_kms_helper drm asus_nb_wmi ath9k
snd_hda_intel snd_hda_codec asus_wmi i2c_algo_bit mac80211 sparse_keymap
pci_hotplug snd_hwdep snd_pcm ath9k_common ath9k_hw wmi video ath snd_seq
snd_timer intel_agp backlight mei(C) cfg80211 snd_seq_device intel_gtt
i2c_i801 i2c_core snd agpgart evdev soundcore snd_page_alloc battery ac
psmouse processor button dm_mod sg sr_mod cdrom thermal thermal_sys hwmon
usbcore atl1c [last unloaded: ehci_hcd]
[  182.052288] Pid: 596, comm: kworker/u:7 Tainted: GWC 
3.0.0-rc3-wrar-sabine+ #3
[  182.052293] Call Trace:
[  182.052296]  [] warn_slowpath_common+0x7e/0x96
[  182.052301]  [] warn_slowpath_null+0x15/0x17
[  182.052308]  [] gen6_gt_force_wake_get+0x25/0x9e [i915]
[  182.052316]  [] i915_read8+0x2d/0x4f [i915]
[  182.052325]  [] i915_restore_display+0x1038/0x10b7 [i915]
[  182.052330]  [] ? _raw_spin_unlock_irqrestore+0x20/0x2b
[  182.052339]  [] i915_restore_state+0x53/0x1f1 [i915]
[  182.052345]  [] i915_drm_thaw+0x4c/0xd3 [i915]
[  182.052352]  [] i915_resume+0x40/0x57 [i915]
[  182.052359]  [] i915_pm_resume+0x11/0x13 [i915]
[  182.052363]  [] pci_pm_resume+0x87/0x9c
[  182.052366]  [] pm_op+0xa4/0x144
[  182.052370]  [] ? async_schedule+0x12/0x12
[  182.052374]  [] device_resume+0x8e/0xc6
[  182.052377]  [] ? try_to_wake_up+0x1be/0x1d0
[  182.052381]  [] async_resume+0x1a/0x42
[  182.052385]  [] async_run_entry_fn+0x9d/0x14f
[  182.052389]  [] ? async_run_entry_fn+0x116/0x14f
[  182.052393]  [] process_one_work+0x13c/0x21e
[  182.052397]  [] worker_thread+0xce/0x152
[  182.052401]  [] ? manage_workers.isra.29+0x16c/0x16c
[  182.052405]  [] kthread+0x7f/0x87
[  182.052409]  [] kernel_thread_helper+0x4/0x10
[  182.052413]  [] ? kthread_worker_fn+0x141/0x141
[  182.052417]  [] ? gs_change+0xb/0xb
[  182.052420] ---[ end trace 26bf0be9378ff57c ]---

Then almost the same but with
[  182.052083]  [] warn_slowpath_common+0x7e/0x96
[  182.052087]  [] warn_slowpath_null+0x15/0x17
[  182.052094]  [] gen6_gt_force_wake_put+0x24/0x4d [i915]
[  182.052102]  [] i915_read8+0x3d/0x4f [i915]

These two warnings repeat for a total of 45 times, statring and ending
with _put one.

-- 
WBR, wRAR


signature.asc
Description: Digital signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 2/2] drm/i915: save/resume forcewake lock fixes

2011-06-22 Thread Andrey Rahmatullin
Tested-by: Andrey Rahmatullin 

-- 
WBR, wRAR


signature.asc
Description: Digital signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx