[ 27.541062] ------------[ cut here ]------------ [ 27.541065] amdgpu 0000:08:00.0: drm_WARN_ON_ONCE(drm_drv_uses_atomic_modeset(dev)) [ 27.541076] WARNING: CPU: 9 PID: 3963 at drivers/gpu/drm/drm_vblank.c:722 drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x314/0x320 [ 27.541076] Modules linked in: xt_MASQUERADE xt_conntrack xt_CHECKSUM ipt_REJECT nf_reject_ipv4 ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ebtable_filter ebtables ip6table_filter iptable_filter vfat fat snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device snd_pcm snd_timer snd [ 27.541090] CPU: 9 PID: 3963 Comm: X Tainted: G T 5.10.0-rc2 #10 [ 27.541091] Hardware name: System manufacturer System Product Name/PRIME B350-PLUS, BIOS 5602 07/14/2020 [ 27.541093] RIP: 0010:drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x314/0x320 [ 27.541094] Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 b5 c3 29 00 48 c7 c1 48 ca 9b b0 48 89 c6 4c 89 ea 48 c7 c7 10 4b 9b b0 e8 5b 9d 67 00 <0f> 0b e9 e1 fe ff ff 0f 1f 44 00 00 48 8b 87 b0 01 00 00 0f b6 c9 [ 27.541095] RSP: 0018:ffff921fc0b437e0 EFLAGS: 00010082 [ 27.541096] RAX: 0000000000000047 RBX: ffff8c6f865e0010 RCX: ffff8c767e857488 [ 27.541097] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff8c767e857480 [ 27.541097] RBP: ffff921fc0b43870 R08: 0000000000000000 R09: ffff921fc0b43630 [ 27.541098] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 [ 27.541098] R13: ffff8c6f81780500 R14: ffffffffaf783e40 R15: ffff8c6f86a0e0a8 [ 27.541099] FS: 00007f7e3097e8c0(0000) GS:ffff8c767e840000(0000) knlGS:0000000000000000 [ 27.541100] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.541100] CR2: 00007f7e2ecdc640 CR3: 0000000102a74000 CR4: 00000000003506e0 [ 27.541100] Call Trace: [ 27.541104] ? dc_stream_get_scanoutpos+0x5c/0x70 [ 27.541106] ? dm_crtc_get_scanoutpos+0x46/0x90 [ 27.541108] drm_get_last_vbltimestamp+0xa3/0xb0 [ 27.541109] drm_reset_vblank_timestamp+0x5a/0xd0 [ 27.541110] drm_crtc_vblank_on+0x83/0x150 [ 27.541111] amdgpu_dm_atomic_commit_tail+0xae8/0x2200 [ 27.541114] ? ttm_bo_move_accel_cleanup+0x1a4/0x3b0 [ 27.541117] commit_tail+0x8e/0x120 [ 27.541118] drm_atomic_helper_commit+0x12f/0x160 [ 27.541119] drm_atomic_helper_set_config+0x84/0xc0 [ 27.541121] drm_mode_setcrtc+0x1cd/0x6c0 [ 27.541123] ? drm_mode_getcrtc+0x1a0/0x1a0 [ 27.541123] drm_ioctl_kernel+0xa3/0xf0 [ 27.541124] drm_ioctl+0x257/0x3f0 [ 27.541125] ? drm_mode_getcrtc+0x1a0/0x1a0 [ 27.541127] amdgpu_drm_ioctl+0x58/0xa0 [ 27.541130] __x64_sys_ioctl+0x96/0xd0 [ 27.541132] do_syscall_64+0x33/0x80 [ 27.541134] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 27.541135] RIP: 0033:0x7f7e30ac0d57 [ 27.541137] Code: 72 aa e8 fc fe ff ff 85 c0 78 af 48 83 c4 08 4c 89 e0 5b 41 5c 41 5d 5d c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 30 0c 00 f7 d8 64 89 01 48 [ 27.541137] RSP: 002b:00007ffc24e5f078 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 27.541138] RAX: ffffffffffffffda RBX: 00007ffc24e5f0b0 RCX: 00007f7e30ac0d57 [ 27.541138] RDX: 00007ffc24e5f0b0 RSI: 00000000c06864a2 RDI: 000000000000000c [ 27.541139] RBP: 00007ffc24e5f0a0 R08: 0000000000000000 R09: 000055ce0a7e0ec0 [ 27.541139] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 27.541140] R13: 00000000c06864a2 R14: 000000000000000c R15: 000055ce0a0804a0 [ 27.541141] CPU: 9 PID: 3963 Comm: X Tainted: G T 5.10.0-rc2 #10 [ 27.541142] Hardware name: System manufacturer System Product Name/PRIME B350-PLUS, BIOS 5602 07/14/2020 [ 27.541142] Call Trace: [ 27.541145] dump_stack+0x57/0x6a [ 27.541147] __warn.cold+0x24/0x81 [ 27.541149] ? drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x314/0x320 [ 27.541150] report_bug+0xb7/0xd0 [ 27.541153] ? irq_work_queue+0x33/0x50 [ 27.541154] handle_bug+0x3c/0x60 [ 27.541154] exc_invalid_op+0x1f/0x90 [ 27.541156] asm_exc_invalid_op+0x12/0x20 [ 27.541157] RIP: 0010:drm_crtc_vblank_helper_get_vblank_timestamp_internal+0x314/0x320 [ 27.541158] Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 b5 c3 29 00 48 c7 c1 48 ca 9b b0 48 89 c6 4c 89 ea 48 c7 c7 10 4b 9b b0 e8 5b 9d 67 00 <0f> 0b e9 e1 fe ff ff 0f 1f 44 00 00 48 8b 87 b0 01 00 00 0f b6 c9 [ 27.541158] RSP: 0018:ffff921fc0b437e0 EFLAGS: 00010082 [ 27.541159] RAX: 0000000000000047 RBX: ffff8c6f865e0010 RCX: ffff8c767e857488 [ 27.541159] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff8c767e857480 [ 27.541160] RBP: ffff921fc0b43870 R08: 0000000000000000 R09: ffff921fc0b43630 [ 27.541160] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 [ 27.541161] R13: ffff8c6f81780500 R14: ffffffffaf783e40 R15: ffff8c6f86a0e0a8 [ 27.541162] ? amdgpu_display_crtc_idx_to_irq_type+0x20/0x20 [ 27.541164] ? dc_stream_get_scanoutpos+0x5c/0x70 [ 27.541165] ? dm_crtc_get_scanoutpos+0x46/0x90 [ 27.541166] drm_get_last_vbltimestamp+0xa3/0xb0 [ 27.541167] drm_reset_vblank_timestamp+0x5a/0xd0 [ 27.541168] drm_crtc_vblank_on+0x83/0x150 [ 27.541169] amdgpu_dm_atomic_commit_tail+0xae8/0x2200 [ 27.541170] ? ttm_bo_move_accel_cleanup+0x1a4/0x3b0 [ 27.541172] commit_tail+0x8e/0x120 [ 27.541173] drm_atomic_helper_commit+0x12f/0x160 [ 27.541174] drm_atomic_helper_set_config+0x84/0xc0 [ 27.541175] drm_mode_setcrtc+0x1cd/0x6c0 [ 27.541176] ? drm_mode_getcrtc+0x1a0/0x1a0 [ 27.541177] drm_ioctl_kernel+0xa3/0xf0 [ 27.541178] drm_ioctl+0x257/0x3f0 [ 27.541179] ? drm_mode_getcrtc+0x1a0/0x1a0 [ 27.541180] amdgpu_drm_ioctl+0x58/0xa0 [ 27.541182] __x64_sys_ioctl+0x96/0xd0 [ 27.541183] do_syscall_64+0x33/0x80 [ 27.541184] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 27.541184] RIP: 0033:0x7f7e30ac0d57 [ 27.541185] Code: 72 aa e8 fc fe ff ff 85 c0 78 af 48 83 c4 08 4c 89 e0 5b 41 5c 41 5d 5d c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 30 0c 00 f7 d8 64 89 01 48 [ 27.541186] RSP: 002b:00007ffc24e5f078 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 27.541186] RAX: ffffffffffffffda RBX: 00007ffc24e5f0b0 RCX: 00007f7e30ac0d57 [ 27.541187] RDX: 00007ffc24e5f0b0 RSI: 00000000c06864a2 RDI: 000000000000000c [ 27.541187] RBP: 00007ffc24e5f0a0 R08: 0000000000000000 R09: 000055ce0a7e0ec0 [ 27.541188] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 27.541188] R13: 00000000c06864a2 R14: 000000000000000c R15: 000055ce0a0804a0 [ 27.541189] ---[ end trace bf71c4682d44d80f ]---