Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933960AbbBDMcM (ORCPT ); Wed, 4 Feb 2015 07:32:12 -0500 Received: from cpsmtpb-ews05.kpnxchange.com ([213.75.39.8]:50295 "EHLO cpsmtpb-ews05.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932316AbbBDMcH (ORCPT ); Wed, 4 Feb 2015 07:32:07 -0500 Message-ID: <1423053134.30076.12.camel@tiscali.nl> Subject: Re: [BISECTED REGRESSION in 3.19-rc1] [drm/i915] WARNING: drivers/gpu/drm/drm_irq.c:1077 drm_wait_one_vblank From: Paul Bolle To: Andrey Skvortsov Cc: Daniel Vetter , Jani Nikula , David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= , Matt Roper Date: Wed, 04 Feb 2015 13:32:14 +0100 In-Reply-To: <20150131211609.GA3710@yulia-desktop> References: <20150131211609.GA3710@yulia-desktop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.10 (3.12.10-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Feb 2015 12:32:05.0978 (UTC) FILETIME=[95F2CBA0:01D04076] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4816 Lines: 76 Andrey Skvortsov schreef op zo 01-02-2015 om 00:16 [+0300]: > this warning exist in v3.19-rc6 and does not in v3.18. Bisection > points to the commit 51e31d49c890552 "drm/i915: Use generic vblank wait". > I have two machines with integrated Intel graphics and the problem > happens only on the old one with GM965 chipset and X3100 integrated graphics. I see this too, since v3.19-rc1, on an (outdated) ThinkPad X41. > backtrace information: > > [ 31.780813] WARNING: CPU: 0 PID: 718 at drivers/gpu/drm/drm_irq.c:1077 drm_wait_one_vblank+0x33/0x141 [drm]() But it also prints vblank not available on crtc 0, ret=-22 after the WARNING line, on that machine. > [ 31.780815] Modules linked in: ecb(E) i915(E+) snd_hda_codec_generic(E) coretemp(E) btusb(E) kvm_intel(E) snd_hda_intel(E) snd_hda_controller(E) kvm(E) drm_kms_helper(E) snd_hda_code > c(E) snd_pcsp(E) bluetooth(E) snd_hwdep(E) drm(E) lpc_ich(E) evdev(E) mfd_core(E) snd_pcm(E) snd_timer(E) snd(E) psmouse(E) serio_raw(E) i2c_algo_bit(E) i2c_i801(E) rfkill(E) soundcore( > E) battery(E) button(E) video(E) ac(E) i2ccore(E) acpi_cpufreq(E) processor(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) autofs4(E) ext4(E) crc16(E) jbd2(E) mbcache(E) sd_mod(E) a > ta_generic(E) ahci(E) libahci(E) sdhci_pci(E) sdhci(E) firewire_ohci(E) b44(E) mii(E) ssb(E) ata_piix(E) firewire_core(E) crc_itu_t(E) mmc_core(E) libphy(E) libata(E) scsi_mod(E) xhci_h > cd(E) ehci_pci(E) uhci_hcd(E) ehci_hcd(E) usbcore(E) usb_common(E) thermal(E) > [ 31.780862] thermal_sys(E) > [ 31.780866] CPU: 0 PID: 718 Comm: kworker/u4:3 Tainted: G E 3.17.0-rc5-150116--00578-g51e31d4 #16 > [ 31.780868] Hardware name: Dell Inc. Vostro 1500 /0NX907, BIOS A06 04/21/2008 > [ 31.780873] Workqueue: events_unbound async_run_entry_fn > [ 31.780875] 0000000000000000 ffffffffa0544b9d ffffffff813d4e81 0000000000000000 > [ 31.780879] ffffffff8103dec3 ffff8800d84e0068 ffffffffa0521c73 0000000000070008 > [ 31.780882] ffff8800d84e0000 ffff8801973e0800 0000000000000000 0000000000006014 > [ 31.780886] Call Trace: > [ 31.780890] [] ? dump_stack+0x4a/0x75 > [ 31.780894] [] ? warn_slowpath_common+0x7e/0x97 > [ 31.781050] [] ? drm_wait_one_vblank+0x33/0x141 [drm] > [ 31.781078] [] ? drm_wait_one_vblank+0x33/0x141 [drm] > [ 31.781122] [] ? intel_enable_tv+0x22/0x58 [i915] > [ 31.781153] [] ? i9xx_crtc_enable+0x33b/0x397 [i915] > [ 31.781184] [] ? __intel_set_mode+0x1160/0x1209 [i915] > [ 31.781216] [] ? intel_set_mode+0x12/0x2c [i915] > [ 31.781247] [] ? intel_get_load_detect_pipe+0x367/0x408 [i915] > [ 31.781281] [] ? intel_tv_detect+0x103/0x444 [i915] > [ 31.781289] [] ? drm_helper_probe_single_connector_modes_merge_bits+0xc0/0x327 [drm_kms_helper] > [ 31.781296] [] ? drm_fb_helper_probe_connector_modes+0x3d/0x51 [drm_kms_helper] > [ 31.781303] [] ? drm_fb_helper_initial_config+0x3d/0x303 [drm_kms_helper] > [ 31.781306] [] ? async_run_entry_fn+0x5a/0x110 > [ 31.781310] [] ? process_one_work+0x194/0x292 > [ 31.781313] [] ? worker_thread+0x236/0x298 > [ 31.781316] [] ? process_scheduled_works+0x2a/0x2a > [ 31.781319] [] ? kthread+0x9e/0xa6 > [ 31.781322] [] ? kthread_freezable_should_stop+0x36/0x36 > [ 31.781326] [] ? ret_from_fork+0x7c/0xb0 > [ 31.781329] [] ? kthread_freezable_should_stop+0x36/0x36 > [ 31.782726] ---[ end trace e2b78017f1a10054 ]--- > > > lspci: > > 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c) > 00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 0c) A naive revert, on top of v3.19-rc7, of commit 51e31d49c890552 ("drm/i915: Use generic vblank wait") clashes with later changes. It seems intel_wait_for_vblank() became an one line inline function in a later commit. Anyhow, is a fix for this queued somewhere? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/