(radeon?) WARNING: drivers/gpu/drm/drm_irq.c:1195 drm_vblank_put (v4.11-12441-g56868a4)

From: Tommi Rantala
Date: Wed May 10 2017 - 15:33:58 EST


Hi,

I just tested v4.11-12441-g56868a4 on HP xw6600 with radeon graphics,
and I'm seeing the following WARNING triggered constantly.

I have not seen this earlier e.g. with the distro kernel 4.10.13-200.fc25.x86_64

$ lspci|grep -i amd
60:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
60:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape
Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]

Complete kernel log:
http://termbin.com/dzy5

[ 249.952546] ------------[ cut here ]------------
[ 249.952593] WARNING: CPU: 5 PID: 0 at
/home/ttrantal/git/linux/drivers/gpu/drm/drm_irq.c:1195
drm_vblank_put+0xc4/0x120 [drm]
[ 249.952596] Modules linked in: fuse tun bridge stp llc af_packet
pl2303 usbserial shpchp acpi_cpufreq binfmt_misc amdgpu hid_generic
uhci_hcd radeon 3c59x mii tg3 ehci_pci ehci_hcd i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm
agpgart unix autofs4
[ 249.952675] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G W
4.11.0+ #4
[ 249.952678] Hardware name: Hewlett-Packard HP xw6600
Workstation/0A9Ch, BIOS 786F4 v01.46 09/20/2012
[ 249.952681] task: ffff88080aea0000 task.stack: ffffc900031b0000
[ 249.952695] RIP: 0010:drm_vblank_put+0xc4/0x120 [drm]
[ 249.952698] RSP: 0018:ffff88080f003d70 EFLAGS: 00010046
[ 249.952703] RAX: 0000000000000000 RBX: ffff880801d53000 RCX: 0000000000000000
[ 249.952706] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88080a4ac000
[ 249.952709] RBP: ffff88080f003d88 R08: 0000000000000001 R09: 0000000000000003
[ 249.952711] R10: ffff88080f003d08 R11: 00000000001da540 R12: ffff88080a4ac000
[ 249.952714] R13: 0000000000000000 R14: 0000000000000086 R15: ffff8808019a0000
[ 249.952717] FS: 0000000000000000(0000) GS:ffff88080f000000(0000)
knlGS:0000000000000000
[ 249.952720] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 249.952723] CR2: 00007f8bcc3a5810 CR3: 0000000808789000 CR4: 00000000000006e0
[ 249.952726] Call Trace:
[ 249.952731] <IRQ>
[ 249.952746] drm_crtc_vblank_put+0x1b/0x30 [drm]
[ 249.952813] radeon_crtc_handle_flip+0xdc/0x140 [radeon]
[ 249.952843] si_irq_process+0x610/0x1e90 [radeon]
[ 249.952872] radeon_driver_irq_handler_kms+0x39/0xc0 [radeon]
[ 249.952881] __handle_irq_event_percpu+0x60/0x580
[ 249.952887] handle_irq_event_percpu+0x20/0x90
[ 249.952892] handle_irq_event+0x46/0xb0
[ 249.952897] handle_edge_irq+0x13d/0x370
[ 249.952903] handle_irq+0x66/0x210
[ 249.952908] ? __local_bh_enable+0x34/0x50
[ 249.952914] do_IRQ+0x7e/0x1b0
[ 249.952920] common_interrupt+0x95/0x95
[ 249.952924] RIP: 0010:mwait_idle+0x9c/0x3c0
[ 249.952927] RSP: 0018:ffffc900031b3e68 EFLAGS: 00000246 ORIG_RAX:
ffffffffffffff4d
[ 249.952932] RAX: 0000000000000000 RBX: ffff88080aea0000 RCX: 0000000000000000
[ 249.952935] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88080aea0000
[ 249.952938] RBP: ffffc900031b3e98 R08: 0000000000000006 R09: 0000000000000000
[ 249.952941] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88080aea0000
[ 249.952943] R13: 0000000000000005 R14: ffffffff839ca0c8 R15: 0000000000000000
[ 249.952946] </IRQ>
[ 249.952955] ? mwait_idle+0x93/0x3c0
[ 249.952961] arch_cpu_idle+0xa/0x10
[ 249.952965] default_idle_call+0x24/0x40
[ 249.952971] do_idle+0x154/0x1f0
[ 249.952976] cpu_startup_entry+0x18/0x20
[ 249.952981] start_secondary+0x159/0x1f0
[ 249.952987] secondary_startup_64+0x9f/0x9f
[ 249.952995] Code: 0d 32 c7 9a e2 f7 ea 41 c1 fc 1f 48 8d 7b 60 c1
fa 06 44 29 e2 48 63 f2 48 01 ce e8 37 7d 1e e1 eb be 0f ff 5b 41 5c
41 5d 5d c3 <0f> ff eb b1 48 89 df e8 40 fe ff ff eb a7 41 0f b6 f4 48
c7 c7
[ 249.953135] ---[ end trace 399ab7917ed3b208 ]---
[ 251.185850] ------------[ cut here ]------------
[ 251.185896] WARNING: CPU: 5 PID: 4425 at
/home/ttrantal/git/linux/drivers/gpu/drm/drm_irq.c:1195
drm_vblank_put+0xc4/0x120 [drm]
[ 251.185899] Modules linked in: fuse tun bridge stp llc af_packet
pl2303 usbserial shpchp acpi_cpufreq binfmt_misc amdgpu hid_generic
uhci_hcd radeon 3c59x mii tg3 ehci_pci ehci_hcd i2c_algo_bit
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm
agpgart unix autofs4
[ 251.185979] CPU: 5 PID: 4425 Comm: in:imjournal Tainted: G W
4.11.0+ #4
[ 251.185982] Hardware name: Hewlett-Packard HP xw6600
Workstation/0A9Ch, BIOS 786F4 v01.46 09/20/2012
[ 251.185984] task: ffff880802f8b280 task.stack: ffffc900034c8000
[ 251.185998] RIP: 0010:drm_vblank_put+0xc4/0x120 [drm]
[ 251.186001] RSP: 0000:ffff88080f003d70 EFLAGS: 00010046
[ 251.186006] RAX: 0000000000000000 RBX: ffff880801d53000 RCX: 0000000000000000
[ 251.186009] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88080a4ac000
[ 251.186012] RBP: ffff88080f003d88 R08: 0000000000000001 R09: 0000000000000003
[ 251.186015] R10: ffff88080f003d08 R11: 00000000001da540 R12: ffff88080a4ac000
[ 251.186017] R13: 0000000000000000 R14: 0000000000000086 R15: ffff8808019a0000
[ 251.186021] FS: 00007faffcc33700(0000) GS:ffff88080f000000(0000)
knlGS:0000000000000000
[ 251.186024] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 251.186027] CR2: 00007f48989b4000 CR3: 0000000807407000 CR4: 00000000000006e0
[ 251.186029] Call Trace:
[ 251.186033] <IRQ>
[ 251.186049] drm_crtc_vblank_put+0x1b/0x30 [drm]
[ 251.186110] radeon_crtc_handle_flip+0xdc/0x140 [radeon]
[ 251.186140] si_irq_process+0x610/0x1e90 [radeon]
[ 251.186167] radeon_driver_irq_handler_kms+0x39/0xc0 [radeon]
[ 251.186176] __handle_irq_event_percpu+0x60/0x580
[ 251.186182] handle_irq_event_percpu+0x20/0x90
[ 251.186187] handle_irq_event+0x46/0xb0
[ 251.186191] handle_edge_irq+0x13d/0x370
[ 251.186198] handle_irq+0x66/0x210
[ 251.186204] do_IRQ+0x7e/0x1b0
[ 251.186210] common_interrupt+0x95/0x95
[ 251.186215] RIP: 0033:0x7fb031272712
[ 251.186218] RSP: 002b:00007faffcc32ba0 EFLAGS: 00000206 ORIG_RAX:
ffffffffffffff4d
[ 251.186223] RAX: 292a8b4df1633497 RBX: 0000000000000001 RCX: 00007fb03125801d
[ 251.186226] RDX: 0000000000001128 RSI: 00007faffcc32bc0 RDI: 0000000000000001
[ 251.186229] RBP: 00007faffcc32bc0 R08: 0000000000000020 R09: 0000559da2d532c0
[ 251.186232] R10: 0000000000000018 R11: 0000000000000000 R12: 00007faff0003670
[ 251.186234] R13: 00007faff0002550 R14: 00007faffcc32c70 R15: 0000000000000007
[ 251.186237] </IRQ>
[ 251.186245] Code: 0d 32 c7 9a e2 f7 ea 41 c1 fc 1f 48 8d 7b 60 c1
fa 06 44 29 e2 48 63 f2 48 01 ce e8 37 7d 1e e1 eb be 0f ff 5b 41 5c
41 5d 5d c3 <0f> ff eb b1 48 89 df e8 40 fe ff ff eb a7 41 0f b6 f4 48
c7 c7
[ 251.186384] ---[ end trace 399ab7917ed3b209 ]---

Tommi