Bug 52441 - WARNING: at drivers/gpu/drm/i915/intel_display.c:3871
Summary: WARNING: at drivers/gpu/drm/i915/intel_display.c:3871
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: intel-gfx-bugs@lists.freedesktop.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-07 22:31 UTC by Tiana Rakotovao Andriamahefa
Modified: 2013-04-10 12:00 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.8.0-rc2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (186.32 KB, text/plain)
2013-01-07 22:31 UTC, Tiana Rakotovao Andriamahefa
Details
dmesg with drm.debug=0xe in kernel cmdline (227.58 KB, text/plain)
2013-01-08 14:01 UTC, Tiana Rakotovao Andriamahefa
Details

Description Tiana Rakotovao Andriamahefa 2013-01-07 22:31:34 UTC
Created attachment 90631 [details]
dmesg

I constantly had the following WARNING from dmesg even if X.Org seems to work well :


[ 3197.969647] WARNING: at drivers/gpu/drm/i915/intel_display.c:3871 intel_modeset_check_state+0x58a/0x620()
[ 3197.969658] Hardware name: Inspiron 1525                   
[ 3197.969662] Modules linked in: fuse r852 sm_common b43 bcma nand r592 iTCO_wdt iTCO_vendor_support dell_wmi lpc_ich mfd_core nand_ecc memstick nand_ids mtd ssb serio_raw coretemp joydev wmi dell_laptop dcdbas firewire_ohci firewire_core crc_itu_t sdhci_pci sdhci mmc_core
[ 3197.969700] Pid: 3725, comm: Xorg Tainted: G        W    3.8.0-rc2-rak-060113+ #2
[ 3197.969703] Call Trace:
[ 3197.969709]  [<c10337cd>] warn_slowpath_common+0x6d/0xa0
[ 3197.969716]  [<c133cbea>] ? intel_modeset_check_state+0x58a/0x620
[ 3197.969722]  [<c133cbea>] ? intel_modeset_check_state+0x58a/0x620
[ 3197.969728]  [<c103381d>] warn_slowpath_null+0x1d/0x20
[ 3197.969734]  [<c133cbea>] intel_modeset_check_state+0x58a/0x620
[ 3197.969741]  [<c133d430>] intel_set_mode+0x750/0x9a0
[ 3197.969752]  [<c133dfd4>] intel_release_load_detect_pipe+0xd4/0xf0
[ 3197.969759]  [<c1358c60>] intel_tv_detect+0x2e0/0x4a0
[ 3197.969768]  [<c12f70a8>] drm_helper_probe_single_connector_modes+0x278/0x330
[ 3197.969775]  [<c1308943>] drm_mode_getconnector+0x303/0x350
[ 3197.969781]  [<c1308640>] ? drm_mode_getcrtc+0xd0/0xd0
[ 3197.969787]  [<c12fbd02>] drm_ioctl+0x3e2/0x460
[ 3197.969793]  [<c1308640>] ? drm_mode_getcrtc+0xd0/0xd0
[ 3197.969800]  [<c110102f>] ? kmem_cache_free+0xdf/0x100
[ 3197.969805]  [<c1117b43>] ? __d_free+0x33/0x50
[ 3197.969810]  [<c1117b43>] ? __d_free+0x33/0x50
[ 3197.969816]  [<c1117b43>] ? __d_free+0x33/0x50
[ 3197.969821]  [<c1117b43>] ? __d_free+0x33/0x50
[ 3197.969827]  [<c12fb920>] ? drm_copy_field+0x80/0x80
[ 3197.969832]  [<c1115425>] do_vfs_ioctl+0x75/0x590
[ 3197.969839]  [<c1213ca5>] ? inode_has_perm.isra.34.constprop.65+0x35/0x40
[ 3197.969845]  [<c1214f38>] ? file_has_perm+0x98/0xb0
[ 3197.969852]  [<c1215343>] ? selinux_file_ioctl+0x43/0xe0
[ 3197.969858]  [<c11159a3>] sys_ioctl+0x63/0x70
[ 3197.969863]  [<c16d97fa>] sysenter_do_call+0x12/0x22
[ 3197.969868] ---[ end trace c23fc060432242a8 ]---


# lspci -vv -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 022f
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 43
	Region 0: Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at eff8 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915


Please find attached the full dmesg.
Comment 1 Daniel Vetter 2013-01-08 07:56:13 UTC
Please boot with drm.debug=0xe added to your kernel cmdline, then attach the complete dmesg as soon as the first WARN pops up. Please make sure that none of the early boot message are missing (that option dumps tons of stuff ...).
Comment 2 Tiana Rakotovao Andriamahefa 2013-01-08 14:01:07 UTC
Created attachment 90751 [details]
dmesg with drm.debug=0xe in kernel cmdline
Comment 3 Jani Nikula 2013-04-10 11:47:04 UTC
Daniel might have better ideas, but could you try the latest v3.9-rc please?
Comment 4 Daniel Vetter 2013-04-10 12:00:23 UTC
If I'm reading the dmesg correctly, this is the sdvo connector get_hw_state confusion, which is fixed in drm-intel-next-nightly with

commit 1e303c6febfdc23258d6ecea79c9592389a28964
Author: Egbert Eich <eich@suse.de>
Date:   Thu Apr 4 16:04:02 2013 -0400

    drm/i915: Fix SDVO connector and encoder get_hw_state functions

The patch is cc: stabel, so should trickle down eventually once it has landed in 3.10.

Note You need to log in before you can comment on or make changes to this bug.