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

From: Michel DÃnzer
Date: Wed May 10 2017 - 22:51:57 EST


On 11/05/17 04:33 AM, Tommi Rantala wrote:
> 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

Weird, not sure how this could happen. Can you bisect?


--
Earthling Michel DÃnzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer