[current linus git] kernel warning : driver forgot to call drm_crtc_vblank_off()
From: Jongman Heo
Date: Thu Nov 16 2017 - 02:34:38 EST
Hi,
I'm running current linus git kernel on VMWare Workstation 12 Pro (Host : windows 10, Guest : Fedora 27).
commit e60e1ee60630cafef5e430c2ae364877e061d980 : Merge tag 'drm-for-v4.15' of git://people.freedesktop.org/~airlied/linux)
When I login via Gnome GDM login screen, following kernel message occurs.
I do not know whether this is an issue of vmwgfx driver or drm core.
========================================================================================
[ 147.619855] driver forgot to call drm_crtc_vblank_off()
[ 147.619898] ------------[ cut here ]------------
[ 147.619910] WARNING: CPU: 1 PID: 131 at drivers/gpu/drm/drm_atomic_helper.c:892 drm_atomic_helper_commit_modeset_disables+0x3d3/0x3e0 [drm_kms_helper]
[ 147.619911] Modules linked in: xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables vmw_vsock_vmci_transport vsock snd_seq_midi snd_seq_midi_event coretemp kvm_intel kvm snd_ens1371 gameport snd_ac97_codec irqbypass ac97_bus crct10dif_pclmul snd_seq snd_pcm crc32_pclmul snd_timer ghash_clmulni_intel snd_rawmidi intel_rapl_perf snd_seq_device snd soundcore joydev vmw_balloon shpchp nfit i2c_piix4 vmw_vmci vmwgfx drm_kms_helper mptspi scsi_transport_spi crc32c_intel ttm mptscsih serio_raw ata_generic pcnet32 mii drm mptbase pata_acpi
[ 147.619957] CPU: 1 PID: 131 Comm: kworker/1:1 Not tainted 4.14.0+ #173
[ 147.619958] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/02/2015
[ 147.619974] Workqueue: events drm_mode_rmfb_work_fn [drm]
[ 147.619975] task: ffff8f32f6962600 task.stack: ffffb239c0ca0000
[ 147.619980] RIP: 0010:drm_atomic_helper_commit_modeset_disables+0x3d3/0x3e0 [drm_kms_helper]
[ 147.619981] RSP: 0018:ffffb239c0ca3d48 EFLAGS: 00010286
[ 147.619982] RAX: 000000000000002b RBX: ffff8f336dda8380 RCX: 0000000000000000
[ 147.619982] RDX: 0000000000000000 RSI: ffff8f337fc4e138 RDI: ffff8f337fc4e138
[ 147.619983] RBP: ffff8f32f6c7a800 R08: 00000000000004b3 R09: 292866666f5f6b6e
[ 147.619984] R10: 0000000000000000 R11: 765f637472635f6d R12: ffffffffc0275fa0
[ 147.619985] R13: 0000000000000000 R14: ffff8f3377f07000 R15: 00000000ffffffda
[ 147.619986] FS: 0000000000000000(0000) GS:ffff8f337fc40000(0000) knlGS:0000000000000000
[ 147.619987] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 147.619987] CR2: 00007fec45daa688 CR3: 0000000028009005 CR4: 00000000001606e0
[ 147.620015] Call Trace:
[ 147.620024] drm_atomic_helper_commit_tail+0x19/0x60 [drm_kms_helper]
[ 147.620028] commit_tail+0x5c/0x70 [drm_kms_helper]
[ 147.620032] drm_atomic_helper_commit+0xfc/0x110 [drm_kms_helper]
[ 147.620048] drm_framebuffer_remove+0x2a2/0x3b0 [drm]
[ 147.620059] drm_mode_rmfb_work_fn+0x4f/0x60 [drm]
[ 147.620064] process_one_work+0x182/0x370
[ 147.620066] worker_thread+0x2e/0x380
[ 147.620068] ? process_one_work+0x370/0x370
[ 147.620085] kthread+0x111/0x130
[ 147.620090] ? kthread_create_worker_on_cpu+0x70/0x70
[ 147.620092] ret_from_fork+0x1f/0x30
[ 147.620094] Code: ff d0 e9 cf fd ff ff be 03 00 00 00 4c 89 f7 41 ff 14 24 e9 be fd ff ff 48 c7 c7 40 37 23 c0 c6 05 b2 6b 01 00 01 e8 08 1c ed d2 <0f> ff e9 59 ff ff ff 66 0f 1f 44 00 00 0f 1f 44 00 00 41 57 41
[ 147.620111] ---[ end trace fb8792a7d558d91c ]---
[ 149.045950] fuse init (API version 7.26)
Thanks.