drm/qxl: regression (69e5d3f8 drm/qxl: only report first monitor as connected if we have no state)

From: Mike Galbraith
Date: Mon Dec 21 2015 - 05:30:51 EST


Greetings,

In every tree where 69e5d3f8 is applied, IFF a kvm guest display is set
up for Spice vs VNC, AND IFF I boot straight into runlevel 5 vs
stopping at 3 then telinit 5, the X server starts fine but as KDE is
initializing my session after login, the display hangs. Revert
$subject, and all is well.

Any kernel that still has this warning will be grumbling.

[ 36.233628] ------------[ cut here ]------------
[ 36.233669] WARNING: CPU: 2 PID: 1510 at drivers/gpu/drm/drm_crtc.c:2031 drm_mode_set_config_internal+0xd4/0xe0 [drm]()
[ 36.233677] Modules linked in: uinput(E) fuse(E) xt_pkttype(E) xt_LOG(E) xt_limit(E) rpcsec_gss_krb5(E) auth_rpcgss(E) nfsv4(E) dns_resolver(E) nfs(E) lockd(E) sunrpc(E) fscache(E) af_packet(E) iscsi_ibft(E) iscsi_boot_sysfs(E) ip6t_REJECT(E) xt_tcpudp(E) nf_conntrack_ipv6(E) nf_defrag_ipv6(E) ip6table_raw(E) ipt_REJECT(E) iptable_raw(E) xt_CT(E) iptable_filter(E) ip6table_mangle(E) nf_conntrack_netbios_ns(E) nf_conntrack_broadcast(E) nf_conntrack_ipv4(E) nf_defrag_ipv4(E) ip_tables(E) xt_conntrack(E) nf_conntrack(E) ip6table_filter(E) ip6_tables(E) x_tables(E) snd_hda_intel(E) snd_hda_codec(E) crct10dif_pclmul(E) crc32_pclmul(E) snd_hwdep(E) crc32c_intel(E) snd_pcm(E) snd_page_alloc(E) snd_timer(E) dm_mod(E) joydev(E) aesni_intel(E) aes_x86_64(E) lrw(E) gf128mul(E) glue_helper(E) snd(E) ablk_helper(E)
[ 36.233685] cryptd(E) ppdev(E) parport_pc(E) pcspkr(E) processor(E) virtio_balloon(E) serio_raw(E) parport(E) soundcore(E) 8139too(E) button(E) i2c_piix4(E) hid_generic(E) usbhid(E) ext4(E) crc16(E) mbcache(E) jbd2(E) ata_generic(E) sd_mod(E) virtio_console(E) virtio_rng(E) ata_piix(E) floppy(E) qxl(E) ehci_pci(E) uhci_hcd(E) ehci_hcd(E) virtio_pci(E) virtio_ring(E) virtio(E) 8139cp(E) drm_kms_helper(E) mii(E) ahci(E) ttm(E) libahci(E) drm(E) usbcore(E) usb_common(E) libata(E) sg(E) scsi_mod(E) autofs4(E)
[ 36.233686] Supported: Yes
[ 36.233688] CPU: 2 PID: 1510 Comm: Xorg Tainted: G E 3.12.51-default #1
[ 36.233689] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.1-0-g4adadbd-20151201_162903-build23 04/01/2014
[ 36.233691] ffffffffa0174408 ffffffff8151caf7 0000000000000000 ffffffff81058e12
[ 36.233692] ffff880037512aa0 ffff8800375e7c00 0000000000000000 0000000000000301
[ 36.233693] ffff8800ba17e860 ffffffffa0156e74 0000000000000000 ffff880037512a00
[ 36.233693] Call Trace:
[ 36.233710] [<ffffffff8100471d>] dump_trace+0x7d/0x2d0
[ 36.233712] [<ffffffff81004a04>] show_stack_log_lvl+0x94/0x170
[ 36.233714] [<ffffffff81005cc1>] show_stack+0x21/0x50
[ 36.233717] [<ffffffff8151caf7>] dump_stack+0x41/0x51
[ 36.233728] [<ffffffff81058e12>] warn_slowpath_common+0x82/0xc0
[ 36.233736] [<ffffffffa0156e74>] drm_mode_set_config_internal+0xd4/0xe0 [drm]
[ 36.233752] [<ffffffffa01ca696>] drm_fb_helper_set_par+0x66/0xe0 [drm_kms_helper]
[ 36.233760] [<ffffffff812fc9be>] fb_set_var+0x15e/0x3b0
[ 36.233766] [<ffffffff8130957b>] fbcon_blank+0x1cb/0x2b0
[ 36.233772] [<ffffffff8137a2d1>] do_unblank_screen+0xa1/0x1b0
[ 36.233777] [<ffffffff813704a3>] complete_change_console+0x53/0xe0
[ 36.233780] [<ffffffff81371489>] vt_ioctl+0xf59/0x10e0
[ 36.233783] [<ffffffff813653dc>] tty_ioctl+0x26c/0xb30
[ 36.233787] [<ffffffff811b9814>] do_vfs_ioctl+0x2d4/0x4b0
[ 36.233795] [<ffffffff811b9a78>] SyS_ioctl+0x88/0xa0
[ 36.233799] [<ffffffff8152ae89>] system_call_fastpath+0x16/0x1b
[ 36.233801] [<00007f5dc82a7be7>] 0x7f5dc82a7be6
[ 36.233802] ---[ end trace e23783ef4256b1c1 ]---
[ 36.234432] ------------[ cut here ]------------

--
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/