Created attachment 81793 [details] dmesg System Environment: -------------------------- Arch: x86_64 Platform: GM45 Libdrm: (master)libdrm-2.4.45-13-g378bb47a784a3808c9b256fe7a52e10a4fcabf92 Mesa: (master)adf8afa168fe9fe2e4a2b35afc3003040d05273f Xserver: (master)xorg-server-1.14.99.1-130-g77e51d5bbb97eb5c9d9dbff9a7c44d7e53620e68 Xf86_video_intel:(master)2.21.10-67-g3a787da7e888da7e9943be94bd1cb177fe1495ab Cairo: (master)7b8fc77bb974fbd4fbc697405a8b6aec748bb7f2 Libva: (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0 Libva_intel_driver:(staging)bb24c8a81e512d19aad0359d81f7247e6f20cc29 Kernel: (drm-intel-nightly) 03d25b4548499254d66f1ee0bae8b796097a41ed Bug detailed description: ------------------------- It happens on gm45 with drm-intel-next-queued kernel.Works well on -fixes kernel. The latest know good commit:6dd8224ec64c809dad5ceceac299918f5d9c7c31 The latest bad commit: b110d88135c7aa43022c8f083079ba0e15737cc8 Call trace [ 1.831672] ------------[ cut here ]------------ [ 1.831803] WARNING: at drivers/gpu/drm/i915/intel_display.c:8390 check_crtc_state+0x684/0x6cb [i915]() [ 1.831979] pipe state doesn't match! [ 1.832093] Modules linked in: i915(+) video button drm_kms_helper drm mperf freq_table [ 1.832588] CPU: 0 PID: 1290 Comm: udevd Not tainted 3.10.0-rc7_drm-intel-next-queued_b110d8_20130701_+ #4827 [ 1.832764] Hardware name: Hewlett-Packard HP Compaq 2230s/3037, BIOS 68PHU Ver. F.08 03/05/2009 [ 1.832940] ffffffff816defae 0000000000000000 ffffffff8102c53d ffff88000506d640 [ 1.833278] ffff88000506d648 00000000000102ed ffff880073ab5000 ffff880073b8c800 [ 1.833609] ffff88000506d6b8 ffff8800051d4000 ffffffff8102c5ed ffffffffa00c384f [ 1.833941] Call Trace: [ 1.834081] [<ffffffff816defae>] ? dump_stack+0xd/0x17 [ 1.834193] [<ffffffff8102c53d>] ? warn_slowpath_common+0x5f/0x77 [ 1.834309] [<ffffffff8102c5ed>] ? warn_slowpath_fmt+0x45/0x4a [ 1.834435] [<ffffffffa0081b31>] ? check_crtc_state+0x684/0x6cb [i915] [ 1.834564] [<ffffffffa008aa84>] ? intel_modeset_check_state+0x36f/0x5e8 [i915] [ 1.834744] [<ffffffffa000de9e>] ? drm_ut_debug_printk+0x56/0x5c [drm] [ 1.834871] [<ffffffffa008d37a>] ? intel_modeset_setup_hw_state+0x8e2/0x96f [i915] [ 1.835065] [<ffffffffa006602d>] ? i915_driver_load+0xba2/0xdc0 [i915] [ 1.835178] [<ffffffff8134bcb8>] ? get_device+0x10/0x1c [ 1.835292] [<ffffffffa000e319>] ? drm_get_minor+0x1b5/0x20a [drm] [ 1.835407] [<ffffffffa000fca5>] ? drm_get_pci_dev+0x14d/0x254 [drm] [ 1.835519] [<ffffffff8134f3ea>] ? driver_probe_device+0x19e/0x19e [ 1.835632] [<ffffffff812cdf01>] ? local_pci_probe+0x16/0x26 [ 1.835743] [<ffffffff812ce7bf>] ? pci_device_probe+0xbc/0xe0 [ 1.835853] [<ffffffff8134f2d6>] ? driver_probe_device+0x8a/0x19e [ 1.835964] [<ffffffff8134f43d>] ? __driver_attach+0x53/0x73 [ 1.836081] [<ffffffff8134db98>] ? bus_for_each_dev+0x4b/0x7c [ 1.836191] [<ffffffff8134eb0f>] ? bus_add_driver+0xdc/0x1fb [ 1.836302] [<ffffffff8134f95c>] ? driver_register+0x89/0x101 [ 1.836412] [<ffffffffa00db000>] ? 0xffffffffa00dafff [ 1.836522] [<ffffffff81000257>] ? do_one_initcall+0x75/0x102 [ 1.836634] [<ffffffff8106c9ad>] ? load_module+0x17b2/0x1a8a [ 1.838518] [<ffffffff81069b4c>] ? sys_getegid16+0x40/0x40 [ 1.838648] [<ffffffff8106cd23>] ? SyS_init_module+0x9e/0xab [ 1.838765] [<ffffffff816e9352>] ? system_call_fastpath+0x16/0x1b [ 1.838876] ---[ end trace c39060116c743ff6 ]---
Please see the section about kernel backtraces in our bug filing BKM and update the backtrace paste and bug report headline accordingliny. Thanks. Adding Gordong so that we can quickly discuss this tomorrow in our regular meeting.
[ 1.831497] [drm:intel_pipe_config_compare] *ERROR* mismatch in clock (expected 66285, found 0 [ 1.831672] ------------[ cut here ]------------ [ 1.831803] WARNING: at drivers/gpu/drm/i915/intel_display.c:8390 check_crtc_state+0x684/0x6cb [i915]() [ 1.831979] pipe state doesn't match! [ 1.832093] Modules linked in: i915(+) video button drm_kms_helper drm mperf freq_table [ 1.832588] CPU: 0 PID: 1290 Comm: udevd Not tainted 3.10.0-rc7_drm-intel-next-queued_b110d8_20130701_+ #4827 [ 1.832764] Hardware name: Hewlett-Packard HP Compaq 2230s/3037, BIOS 68PHU Ver. F.08 03/05/2009 [ 1.832940] ffffffff816defae 0000000000000000 ffffffff8102c53d ffff88000506d640 [ 1.833278] ffff88000506d648 00000000000102ed ffff880073ab5000 ffff880073b8c800 [ 1.833609] ffff88000506d6b8 ffff8800051d4000 ffffffff8102c5ed ffffffffa00c384f [ 1.833941] Call Trace: [ 1.834081] [<ffffffff816defae>] ? dump_stack+0xd/0x17 [ 1.834193] [<ffffffff8102c53d>] ? warn_slowpath_common+0x5f/0x77 [ 1.834309] [<ffffffff8102c5ed>] ? warn_slowpath_fmt+0x45/0x4a [ 1.834435] [<ffffffffa0081b31>] ? check_crtc_state+0x684/0x6cb [i915] [ 1.834564] [<ffffffffa008aa84>] ? intel_modeset_check_state+0x36f/0x5e8 [i915] [ 1.834744] [<ffffffffa000de9e>] ? drm_ut_debug_printk+0x56/0x5c [drm] [ 1.834871] [<ffffffffa008d37a>] ? intel_modeset_setup_hw_state+0x8e2/0x96f [i915] [ 1.835065] [<ffffffffa006602d>] ? i915_driver_load+0xba2/0xdc0 [i915] [ 1.835178] [<ffffffff8134bcb8>] ? get_device+0x10/0x1c [ 1.835292] [<ffffffffa000e319>] ? drm_get_minor+0x1b5/0x20a [drm] [ 1.835407] [<ffffffffa000fca5>] ? drm_get_pci_dev+0x14d/0x254 [drm] [ 1.835519] [<ffffffff8134f3ea>] ? driver_probe_device+0x19e/0x19e [ 1.835632] [<ffffffff812cdf01>] ? local_pci_probe+0x16/0x26 [ 1.835743] [<ffffffff812ce7bf>] ? pci_device_probe+0xbc/0xe0 [ 1.835853] [<ffffffff8134f2d6>] ? driver_probe_device+0x8a/0x19e [ 1.835964] [<ffffffff8134f43d>] ? __driver_attach+0x53/0x73 [ 1.836081] [<ffffffff8134db98>] ? bus_for_each_dev+0x4b/0x7c [ 1.836191] [<ffffffff8134eb0f>] ? bus_add_driver+0xdc/0x1fb [ 1.836302] [<ffffffff8134f95c>] ? driver_register+0x89/0x101 [ 1.836412] [<ffffffffa00db000>] ? 0xffffffffa00dafff [ 1.836522] [<ffffffff81000257>] ? do_one_initcall+0x75/0x102 [ 1.836634] [<ffffffff8106c9ad>] ? load_module+0x17b2/0x1a8a [ 1.838518] [<ffffffff81069b4c>] ? sys_getegid16+0x40/0x40 [ 1.838648] [<ffffffff8106cd23>] ? SyS_init_module+0x9e/0xab [ 1.838765] [<ffffffff816e9352>] ? system_call_fastpath+0x16/0x1b [ 1.838876] ---[ end trace c39060116c743ff6 ]---
It also happens on Ironlake.
One more for Jesse!
Hm, I don't see this on my ILK machine, I'll try my GM45. FWIW, I was using: commit e8474409d7ab6dac38d4a3a6a365504b302f6c16 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Wed Jun 26 17:43:24 2013 +0300 drm/i915: Use wait_for() to wait for Punit to change GPU freq on VLV from today's dinq branch.
Can you please retest with latest -nightly? We've fixed a few things meanwhile in this area.
I don't see this on my GM45 either, so I guess it's fixed now.
Verified.Fixed.
Is it fixed? I see this with intel gen4 hardware (DELL E6500 laptop), ubuntu saucy and mainline kernel 3.12.6 [67287.617867] [drm:intel_pipe_config_compare] *ERROR* mismatch in clock (expected 119000, found 162000) [67287.617871] ------------[ cut here ]------------ [67287.617905] WARNING: CPU: 0 PID: 10319 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:8853 check_crtc_state+0x295/0x350 [i915]() [67287.617907] pipe state doesn't match! [67287.617908] Modules linked in: snd_hrtimer pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) dm_crypt parport_pc ppdev rfcomm bnep binfmt_misc coretemp kvm_intel joydev kvm btusb bluetooth arc4 iwldvm gpio_ich dell_wmi sparse_keymap dell_laptop mac80211 dcdbas uvcvideo snd_hda_codec_hdmi snd_hda_codec_idt videobuf2_vmalloc snd_hda_intel snd_hda_codec videobuf2_memops videobuf2_core videodev snd_hwdep snd_pcm microcode psmouse snd_page_alloc iwlwifi snd_seq_midi snd_seq_midi_event pcmcia snd_rawmidi snd_seq serio_raw snd_seq_device snd_timer cfg80211 yenta_socket pcmcia_rsrc snd soundcore lpc_ich pcmcia_core lp mac_hid parport hid_generic usbhid hid firewire_ohci sdhci_pci sdhci firewire_core crc_itu_t ahci libahci wmi i915 e1000e video i2c_algo_bit drm_kms_helper drm ptp pps_core [67287.617954] CPU: 0 PID: 10319 Comm: Xorg Tainted: GF W O 3.12.6-031206-generic #201312201218 [67287.617956] Hardware name: Dell Inc. Latitude E6500 /0W612R, BIOS A27 12/06/2011 [67287.617957] 0000000000002295 ffff88007aaa9878 ffffffff817444e2 0000000000000007 [67287.617960] ffff88007aaa98c8 ffff88007aaa98b8 ffffffff8106784c 00000000000449a8 [67287.617963] ffff8800358c9000 ffff880035a99c20 ffff880035a99800 ffff8800358c96d0 [67287.617966] Call Trace: [67287.617972] [<ffffffff817444e2>] dump_stack+0x46/0x58 [67287.617976] [<ffffffff8106784c>] warn_slowpath_common+0x8c/0xc0 [67287.617979] [<ffffffff81067936>] warn_slowpath_fmt+0x46/0x50 [67287.617992] [<ffffffffa0110a75>] check_crtc_state+0x295/0x350 [i915] [67287.618007] [<ffffffffa011bd3b>] intel_modeset_check_state+0x6b/0xa0 [i915] [67287.618020] [<ffffffffa011bd95>] intel_set_mode+0x25/0x30 [i915] [67287.618033] [<ffffffffa011c03d>] intel_crtc_set_config+0x29d/0x310 [i915] [67287.618049] [<ffffffffa002564c>] drm_mode_set_config_internal+0x5c/0xe0 [drm] [67287.618059] [<ffffffffa0028328>] drm_mode_setcrtc+0x328/0x560 [drm] [67287.618062] [<ffffffff8174d7b6>] ? mutex_lock+0x16/0x40 [67287.618071] [<ffffffffa0017f0a>] drm_ioctl+0x4ea/0x610 [drm]
Closing old verified.
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.