i915 warning on skylake with current master (12f03ee)

From: Yichao Yu
Date: Tue Sep 08 2015 - 19:57:28 EST


Hi,

(This is the first time I report an issue here so I'm sorry if I'm
doing something totally wrong (likely)).

I have a new skylake system with i7-6700k. I have some issues running
ArchLinux and the 4.2 kernel with the intel graphic driver (hang on
ioctl call etc) and have seen the computer spontaneously shuts off
(which may or may not be related to the graphic issue). I know there's
a lot of fixes in the master so I decided to see if I can have any
luck.

I'm not sure if the git version resolved my issue but I did notice
that I see a warning printed at boot time that I didn't see before
(see the dmesg output below). The display manager (sddm) also refuse
to start at first complaining X "stopped" but could start if I restart
it from the terminal.

I also attached the output of `lspci -v` in case it is useful.

Yichao Yu

------------------------------------------

[ 2.022862] [drm] failed to retrieve link info, disabling eDP
[ 2.023205] ------------[ cut here ]------------
[ 2.023221] WARNING: CPU: 0 PID: 249 at
drivers/gpu/drm/i915/intel_pm.c:3325 skl_update_pipe_wm+0x81d/0x830
[i915]()
[ 2.023222] WARN_ON(p->pixel_rate == 0)
[ 2.023222] Modules linked in:
[ 2.023223] nls_iso8859_1 nls_cp437 vfat fat intel_rapl iosf_mbi
x86_pkg_temp_thermal coretemp kvm_intel evdev mac_hid mxm_wmi kvm
crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel
snd_hda_intel(+) i915(+) snd_hda_codec aesni_intel aes_x86_64 lrw
snd_hda_core gf128mul glue_helper snd_hwdep ablk_helper cryptd psmouse
snd_pcm serio_raw drm_kms_helper snd_timer e1000e pcspkr snd drm ptp
soundcore pps_core alx i2c_i801 hci_uart intel_gtt mdio btbcm
syscopyarea sysfillrect btqca sysimgblt btintel fb_sys_fops mei_me
i2c_algo_bit shpchp mei fan thermal battery bluetooth wmi video rfkill
pinctrl_sunrisepoint i2c_hid pinctrl_intel hid acpi_als tpm_infineon
kfifo_buf tpm_tis tpm industrialio acpi_pad button processor
sch_fq_codel ip_tables x_tables ext4 crc16 mbcache jbd2 sd_mod atkbd
libps2
[ 2.023249] ahci libahci xhci_pci libata xhci_hcd usbcore scsi_mod
usb_common i8042 serio
[ 2.023253] CPU: 0 PID: 249 Comm: systemd-udevd Not tainted 4.2.0-g12f03ee #1
[ 2.023254] Hardware name: Gigabyte Technology Co., Ltd. To be
filled by O.E.M./Z170X-Gaming 7, BIOS F3 08/03/2015
[ 2.023255] 0000000000000000 00000000807cdaa9 ffff88086c137380
ffffffff812b4819
[ 2.023256] ffff88086c1373c8 ffff88086c1373b8 ffffffff81074e92
0000000000000000
[ 2.023257] ffff88086c1376a6 ffff88086c1376a0 0000000000000002
0000000000000007
[ 2.023258] Call Trace:
[ 2.023262] [<ffffffff812b4819>] dump_stack+0x4b/0x72
[ 2.023264] [<ffffffff81074e92>] warn_slowpath_common+0x82/0xc0
[ 2.023265] [<ffffffff81074f2c>] warn_slowpath_fmt+0x5c/0x80
[ 2.023277] [<ffffffffa072d6fd>] skl_update_pipe_wm+0x81d/0x830 [i915]
[ 2.023286] [<ffffffffa072dc14>] skl_update_wm+0x154/0x740 [i915]
[ 2.023289] [<ffffffff81462257>] ? __alloc_skb+0x87/0x210
[ 2.023298] [<ffffffffa072e293>] skl_update_sprite_wm+0x93/0x100 [i915]
[ 2.023308] [<ffffffffa07320d2>]
intel_update_sprite_watermarks+0x32/0x40 [i915]
[ 2.023322] [<ffffffffa07a1b52>] skl_disable_plane+0xc2/0xe0 [i915]
[ 2.023336] [<ffffffffa07957cd>]
intel_modeset_setup_hw_state+0x42d/0xd60 [i915]
[ 2.023350] [<ffffffffa0797d50>] intel_modeset_init+0xb60/0x1aa0 [i915]
[ 2.023365] [<ffffffffa07cef9b>] i915_driver_load+0xccb/0x1440 [i915]
[ 2.023367] [<ffffffff814a3566>] ? netlink_broadcast_filtered+0x136/0x3b0
[ 2.023368] [<ffffffff812b7ca0>] ? kobj_ns_drop+0x50/0x50
[ 2.023370] [<ffffffff812b7f9c>] ? kobject_uevent_env+0x15c/0x4f0
[ 2.023371] [<ffffffff813ce7f7>] ? get_device+0x17/0x20
[ 2.023373] [<ffffffff813d49e5>] ? klist_class_dev_get+0x15/0x20
[ 2.023375] [<ffffffff815623e7>] ? klist_node_init+0x37/0x50
[ 2.023376] [<ffffffff813d0417>] ? device_add+0x237/0x670
[ 2.023379] [<ffffffffa03c74d7>] drm_dev_register+0xa7/0xb0 [drm]
[ 2.023382] [<ffffffffa03c9c63>] drm_get_pci_dev+0xd3/0x1e0 [drm]
[ 2.023392] [<ffffffffa071d2d4>] i915_pci_probe+0x34/0x50 [i915]
[ 2.023394] [<ffffffff812f9ce5>] local_pci_probe+0x45/0xa0
[ 2.023396] [<ffffffff812f9c30>] ? pci_match_device+0xe0/0x110
[ 2.023397] [<ffffffff812fae73>] pci_device_probe+0x103/0x150
[ 2.023398] [<ffffffff813d3b02>] driver_probe_device+0x222/0x490
[ 2.023400] [<ffffffff813d3df4>] __driver_attach+0x84/0x90
[ 2.023401] [<ffffffff813d3d70>] ? driver_probe_device+0x490/0x490
[ 2.023402] [<ffffffff813d173c>] bus_for_each_dev+0x6c/0xc0
[ 2.023403] [<ffffffff813d32be>] driver_attach+0x1e/0x20
[ 2.023404] [<ffffffff813d2e0b>] bus_add_driver+0x1eb/0x280
[ 2.023406] [<ffffffff813d4700>] driver_register+0x60/0xe0
[ 2.023407] [<ffffffff812f955c>] __pci_register_driver+0x4c/0x50
[ 2.023410] [<ffffffffa03c9e50>] drm_pci_init+0xe0/0x110 [drm]
[ 2.023411] [<ffffffffa0826000>] ? 0xffffffffa0826000
[ 2.023420] [<ffffffffa08260a4>] i915_init+0xa4/0xab [i915]
[ 2.023422] [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[ 2.023424] [<ffffffff81158200>] do_init_module+0x5f/0x1ef
[ 2.023425] [<ffffffff810f98c7>] load_module+0x2197/0x27e0
[ 2.023426] [<ffffffff810f6710>] ? symbol_put_addr+0x40/0x40
[ 2.023428] [<ffffffff8156c394>] ? preempt_schedule_irq+0x44/0x70
[ 2.023429] [<ffffffff810fa05e>] SyS_init_module+0x14e/0x190
[ 2.023431] [<ffffffff8156f9ee>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 2.023432] ---[ end trace 2f3d15e019b0a238 ]---
[ 2.023471] [drm:drm_calc_timestamping_constants [drm]] *ERROR*
crtc 21: Can't calculate constants, dotclock = 0!


00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM
Registers (rev 07)
Subsystem: Gigabyte Technology Co., Ltd Device 5000
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Sky Lake
Integrated Graphics (rev 06) (prog-if 00 [VGA controller])
DeviceName: Onboard IGD
Subsystem: Gigabyte Technology Co., Ltd Device d000
Flags: bus master, fast devsel, latency 0, IRQ 140
Memory at db000000 (64-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI
Controller (rev 31) (prog-if 30 [XHCI])
Subsystem: Gigabyte Technology Co., Ltd Device 5007
Flags: bus master, medium devsel, latency 0, IRQ 132
Memory at dc330000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise
Point-H Thermal subsystem (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device 8888
Flags: fast devsel, IRQ 14
Memory at dc34e000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

00:16.0 Communication controller: Intel Corporation Sunrise Point-H
CSME HECI #1 (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device 1c3a
Flags: bus master, fast devsel, latency 0, IRQ 137
Memory at dc34d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Device a102 (rev 31)
(prog-if 01 [AHCI 1.0])
Subsystem: Gigabyte Technology Co., Ltd Device b005
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 133
Memory at dc348000 (32-bit, non-prefetchable) [size=8K]
Memory at dc34c000 (32-bit, non-prefetchable) [size=256]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at dc34b000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port
#17 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 120
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1b.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port
#20 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 121
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: dc200000-dc2fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #1 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 6d000000-6d1fffff
Prefetchable memory behind bridge: 000000006d200000-000000006d3fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #3 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: dc100000-dc1fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #5 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 124
Bus: primary=00, secondary=05, subordinate=6f, sec-latency=0
I/O behind bridge: 00003000-00004fff
Memory behind bridge: c4000000-da0fffff
Prefetchable memory behind bridge: 00000000a0000000-00000000c1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #9 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 125
Bus: primary=00, secondary=70, subordinate=70, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 6d400000-6d5fffff
Prefetchable memory behind bridge: 000000006d600000-000000006d7fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root
Port #13 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 126
Bus: primary=00, secondary=71, subordinate=71, sec-latency=0
Memory behind bridge: dc000000-dc0fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device 5001
Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device 5001
Flags: bus master, fast devsel, latency 0
Memory at dc344000 (32-bit, non-prefetchable) [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device a036
Flags: bus master, fast devsel, latency 32, IRQ 141
Memory at dc340000 (64-bit, non-prefetchable) [size=16K]
Memory at dc320000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device 5001
Flags: medium devsel
Memory at dc34a000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel modules: i2c_i801

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2)
I219-V (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Device e000
Flags: bus master, fast devsel, latency 0, IRQ 138
Memory at dc300000 (32-bit, non-prefetchable) [size=128K]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e

02:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA
Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: ASMedia Technology Inc. Device 1062
Flags: bus master, fast devsel, latency 0, IRQ 135
I/O ports at e050 [size=8]
I/O ports at e040 [size=4]
I/O ports at e030 [size=8]
I/O ports at e020 [size=4]
I/O ports at e000 [size=32]
Memory at dc210000 (32-bit, non-prefetchable) [size=512]
Expansion ROM at dc200000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

04:00.0 Ethernet controller: Qualcomm Atheros Device e0a1 (rev 10)
Subsystem: Gigabyte Technology Co., Ltd Device e000
Flags: bus master, fast devsel, latency 0, IRQ 139
Memory at dc100000 (64-bit, non-prefetchable) [size=256K]
I/O ports at d000 [size=128]
Capabilities: <access denied>
Kernel driver in use: alx
Kernel modules: alx

05:00.0 PCI bridge: Intel Corporation Device 1578 (rev 03) (prog-if 00
[Normal decode])
Physical Slot: 8
Flags: bus master, fast devsel, latency 0, IRQ 127
Bus: primary=05, secondary=06, subordinate=0a, sec-latency=0
I/O behind bridge: 00003000-00004fff
Memory behind bridge: c4000000-c44fffff
Prefetchable memory behind bridge: 00000000a0000000-00000000a03fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

06:00.0 PCI bridge: Intel Corporation Device 1578 (rev 03) (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 128
Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

06:01.0 PCI bridge: Intel Corporation Device 1578 (rev 03) (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 129
Bus: primary=06, secondary=08, subordinate=08, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: c4000000-c41fffff
Prefetchable memory behind bridge: 00000000a0000000-00000000a01fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

06:02.0 PCI bridge: Intel Corporation Device 1578 (rev 03) (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 130
Bus: primary=06, secondary=09, subordinate=09, sec-latency=0
Memory behind bridge: c4200000-c42fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

06:04.0 PCI bridge: Intel Corporation Device 1578 (rev 03) (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 131
Bus: primary=06, secondary=0a, subordinate=0a, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: c4300000-c44fffff
Prefetchable memory behind bridge: 00000000a0200000-00000000a03fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

09:00.0 USB controller: Intel Corporation Device 15b6 (rev 03)
(prog-if 30 [XHCI])
Subsystem: Device 2222:1111
Flags: bus master, fast devsel, latency 0, IRQ 134
Memory at c4200000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

71:00.0 SATA controller: Samsung Electronics Co Ltd Device a801 (rev
01) (prog-if 01 [AHCI 1.0])
Subsystem: Samsung Electronics Co Ltd Device a801
Flags: bus master, fast devsel, latency 0, IRQ 136
Memory at dc000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/