From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Richter Subject: Bug: Pipe A underrun on resolution switching on 830MG Date: Thu, 05 Jun 2014 00:43:56 +0200 Message-ID: <538FA12C.9050202@math.tu-berlin.de> References: <20140602082705.GJ19050@phenom.ffwll.local> <538C54E0.8090507@rus.uni-stuttgart.de> <1027_1401722832_538C97D0_1027_15897_1_20140602152702.GU19050@phenom.ffwll.local> <538DDDF0.6000902@math.tu-berlin.de> <20140603144509.GI7416@phenom.ffwll.local> <538DE414.1010204@rus.uni-stuttgart.de> <20140603151426.GC4772@nuc-i3427.alporthouse.com> <538DE77E.9080502@rus.uni-stuttgart.de> <20140603152614.GD4772@nuc-i3427.alporthouse.com> <538DEEAE.9090709@rus.uni-stuttgart.de> <17205_1401811442_538DF1F2_17205_16362_1_20140603160352.GA6129@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from medousa.rus.uni-stuttgart.de (medousa.rus.uni-stuttgart.de [129.69.192.4]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F2966E878 for ; Wed, 4 Jun 2014 15:44:04 -0700 (PDT) In-Reply-To: <17205_1401811442_538DF1F2_17205_16362_1_20140603160352.GA6129@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , Thomas Richter , Daniel Vetter , =?ISO-8859-1?Q?Ville_Syrj=E4l=E4?= , intel-gfx List-Id: intel-gfx@lists.freedesktop.org Hi folks, when switching resolutions with xrandr (or otherwise) on the 830MG chipset, I usually get a "Pipe A underrun" error, sometimes resulting in a completely black screen. To my understanding, the internal screen is connected to pipe B on this laptop, thus I wonder why I get the error. Thus, something seems to be broken: [ 406.282457] WARNING: CPU: 0 PID: 2048 at drivers/gpu/drm/i915/intel_display.c:2148 intel_crtc_disable_planes+0x15f/0x170 [i915]() [ 406.282463] Modules linked in: michael_mic arc4 ecb lib80211_crypt_tkip lib80211_crypt_ccmp binfmt_misc fuse loop firewire_sbp2 hid_generic usbhid hid snd_intel8x0 snd_ac97_codec ac97_bus ipw2100 snd_pcm libipw sg cfg80211 i915 snd_seq snd_seq_device snd_timer snd mousedev sr_mod firewire_ohci rfkill cdrom i2c_algo_bit pcmcia firewire_core drm_kms_helper lib80211 soundcore crc_itu_t irda uhci_hcd apanel yenta_socket pcmcia_rsrc input_polldev usbcore drm i2c_i801 psmouse evdev 8139too pcspkr 8139cp mii pcmcia_core crc_ccitt 8250 fujitsu_laptop battery video lpc_ich serial_core mfd_core usb_common intel_agp i2c_core intel_gtt led_class agpgart ac button [ 406.282576] CPU: 0 PID: 2048 Comm: Xorg Tainted: G W 3.15.0-rc7+ #3 [ 406.282583] Hardware name: FUJITSU SIEMENS LIFEBOOK S Series/FJNB159, BIOS Version 1.07 10/28/2002 [ 406.282589] c1316e2e c103451f c13aa868 00000000 00000800 f9092e08 00000864 f9049bcf [ 406.282603] f9049bcf 00070180 f4a90000 f6b20000 00000000 c1034569 00000009 00000000 [ 406.282616] f9049bcf f5884aa0 18000000 00003286 00000000 f5a9d000 f6b20178 f6b20000 [ 406.282630] Call Trace: [ 406.282645] [] ? dump_stack+0xa/0x13 [ 406.282659] [] ? warn_slowpath_common+0x7f/0xb0 [ 406.282709] [] ? intel_crtc_disable_planes+0x15f/0x170 [i915] [ 406.282757] [] ? intel_crtc_disable_planes+0x15f/0x170 [i915] [ 406.282768] [] ? warn_slowpath_null+0x19/0x20 [ 406.282816] [] ? intel_crtc_disable_planes+0x15f/0x170 [i915] [ 406.282863] [] ? i9xx_crtc_disable+0x3a/0x620 [i915] [ 406.282877] [] ? __pollwait+0xf0/0xf0 [ 406.282887] [] ? __pollwait+0xf0/0xf0 [ 406.282934] [] ? intel_dump_pipe_config.isra.45+0x2f/0x3a0 [i915] [ 406.282983] [] ? __intel_set_mode+0x76e/0x14e0 [i915] [ 406.283032] [] ? intel_set_mode+0x23/0x40 [i915] [ 406.283079] [] ? intel_crtc_set_config+0x863/0xc90 [i915] [ 406.283095] [] ? idr_mark_full+0x46/0x50 [ 406.283105] [] ? idr_alloc+0x7e/0xe0 [ 406.283143] [] ? drm_mode_set_config_internal+0x46/0xb0 [drm] [ 406.283169] [] ? drm_mode_setcrtc+0xc0/0x560 [drm] [ 406.283216] [] ? intel_crtc_load_lut+0x10e/0x1a0 [i915] [ 406.283242] [] ? drm_mode_setplane+0x3f0/0x3f0 [drm] [ 406.283262] [] ? drm_ioctl+0x1a4/0x5c0 [drm] [ 406.283289] [] ? drm_mode_setplane+0x3f0/0x3f0 [drm] [ 406.283311] [] ? drm_copy_field+0x70/0x70 [drm] [ 406.283322] [] ? do_vfs_ioctl+0x70/0x540 [ 406.283334] [] ? vfs_read+0x101/0x140 [ 406.283345] [] ? SyS_ioctl+0x43/0x80 [ 406.283360] [] ? sysenter_do_call+0x12/0x26 [ 406.283367] ---[ end trace ea667942c60a2cf6 ]--- [ 406.324991] [drm:i8xx_irq_handler] *ERROR* pipe A underrun [ 413.437244] [drm:i8xx_irq_handler] *ERROR* pipe A underrun Note that I *also* get a PIPE A underrun error on the boot console, and occasionally a pipe B underrun error, again on the boot console. The errors in the boot console appear regardless of whether the pipe A quirk is enabled or not, thus the problem seems to be somewhere in the mode switching code. Would it be possible to switch a mode by 1) enabling pipe A, 2) switching, 3) disabling pipe A? Note again that turning on pipe A with the quirk mode breaks both the boot console and resume from ram, so that is not an alternative either... Greetings, Thomas