Bug 200531

Summary: amdgpu: *ERROR* REG_WAIT timeout when a display is put to sleep
Product: Drivers Reporter: Aleksandr Mezin (mezin.alexander)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: REOPENED ---    
Severity: normal CC: barry, benjamin, harry.wentland, michael
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.17.6 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg
dmesg with BUG: unable to handle kernel NULL pointer dereference
Similar hang with Raven Ridge

Description Aleksandr Mezin 2018-07-18 00:41:42 UTC
Created attachment 277391 [details]
dmesg

When a display is turned off (because of inactivity), sometimes I see "*ERROR* REG_WAIT timeout" from amdgpu in the kernel log. And sometimes when the display wakes up, GUI doesn't respond anymore (even mouse pointer isn't moving).

full dmesg output attached

card: RX Vega 64 (Sapphire Nitro+)

I think it started with 4.17.5 or 4.17.6, i'll try to find the exact commit
Comment 1 Aleksandr Mezin 2018-07-18 00:58:00 UTC
I was wrong, it's not a regression. it's happening since the moment I upgraded from rx 580 to vega
Comment 2 Aleksandr Mezin 2018-07-18 07:36:02 UTC
Also got "BUG: unable to handle kernel NULL pointer dereference". Happened when waking the display from suspend (the system itself wasn't suspended, because of https://bugzilla.kernel.org/show_bug.cgi?id=199959).

Seems that GUI becomes unresponsive after this, not after "REG_WAIT timeout".

Should I report this as a different bug?
Comment 3 Aleksandr Mezin 2018-07-18 07:36:48 UTC
Created attachment 277393 [details]
dmesg with BUG: unable to handle kernel NULL pointer dereference
Comment 4 Aleksandr Mezin 2018-07-22 13:16:24 UTC
After more testing:
1. "unable to handle kernel NULL pointer dereference" doesn't happen with 4.18-rc5
2. GUI/GPU driver still freezes at some point. Usually I need to leave the system turned on but with monitors in standby. Only "REG_WAIT timeout" errors in dmesg.
3. "REG_WAIT timeout" only happens with 2 monitors connected. Dell P2415Q and LG 27UD69P, both connected through DisplayPort

How to reproduce "REG_WAIT timeout":
1) `xset dpms force off`
2) Wait for both monitors to turn off (backlight should turn off, "no signal" messages disappear)
3) "REG_WAIT timeout" will happen when you'll press a key/move the mouse - when the monitors are waking up (I've checked dmesg over SSH from another machine).
Comment 5 Aleksandr Mezin 2018-07-22 16:24:14 UTC
"REG_WAIT timeout" doesn't occur with kernel built from "amd-staging-drm-next" branch from https://cgit.freedesktop.org/~agd5f/linux/. I can't find the exact commit because after some commits the system just doesn't boot.
Comment 6 Aleksandr Mezin 2018-08-26 00:53:40 UTC
This particular message doesn't occur anymore on 4.18, so I think I should close this bug
Comment 7 Aleksandr Mezin 2018-09-03 05:20:26 UTC
No, I was wrong, 4.18.5, the problem is still there. When monitors turn off, I still see REG_WAIT timeout in dmesg. And after that they never turn on again - "no signal".

[ 1032.102931] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:636
[ 1032.102974] WARNING: CPU: 0 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1032.102975] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1032.103001]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1032.103022] CPU: 0 PID: 1333 Comm: Xorg Tainted: G           O      4.18.5-arch1-1-ARCH #1
[ 1032.103023] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1032.103046] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1032.103046] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1032.103062] RSP: 0018:ffffa75704f838c0 EFLAGS: 00010297
[ 1032.103063] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1032.103063] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1032.103064] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000002
[ 1032.103064] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000000dad
[ 1032.103065] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1032.103066] FS:  00007f416ce48e00(0000) GS:ffff9a763f600000(0000) knlGS:0000000000000000
[ 1032.103066] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1032.103067] CR2: 00007fa639a53288 CR3: 000000083afae003 CR4: 00000000003606f0
[ 1032.103068] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1032.103068] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1032.103068] Call Trace:
[ 1032.103096]  dce_mi_free_dmif+0xf8/0x180 [amdgpu]
[ 1032.103121]  dce110_reset_hw_ctx_wrap+0x141/0x1b0 [amdgpu]
[ 1032.103145]  dce110_apply_ctx_to_hw+0x52/0xa30 [amdgpu]
[ 1032.103167]  ? hwmgr_handle_task+0x6b/0xc0 [amdgpu]
[ 1032.103190]  ? pp_dpm_dispatch_tasks+0x41/0x60 [amdgpu]
[ 1032.103205]  ? amdgpu_pm_compute_clocks.part.8+0xb7/0x530 [amdgpu]
[ 1032.103229]  dc_commit_state+0x2d1/0x550 [amdgpu]
[ 1032.103253]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 1032.103257]  ? preempt_count_add+0x68/0xa0
[ 1032.103259]  ? _raw_spin_lock_irq+0x1a/0x40
[ 1032.103260]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1032.103261]  ? wait_for_common+0x113/0x190
[ 1032.103262]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1032.103263]  ? wait_for_common+0x113/0x190
[ 1032.103269]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1032.103272]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1032.103282]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1032.103285]  ? import_iovec+0x37/0xd0
[ 1032.103291]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1032.103295]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1032.103300]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1032.103306]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1032.103308]  ? __set_current_blocked+0x3d/0x60
[ 1032.103309]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1032.103322]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1032.103324]  do_vfs_ioctl+0xa4/0x620
[ 1032.103327]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1032.103328]  ksys_ioctl+0x60/0x90
[ 1032.103329]  __x64_sys_ioctl+0x16/0x20
[ 1032.103330]  do_syscall_64+0x5b/0x170
[ 1032.103332]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1032.103333] RIP: 0033:0x7f4170e1779b
[ 1032.103334] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1032.103350] RSP: 002b:00007ffcad31aff8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1032.103351] RAX: ffffffffffffffda RBX: 0000564dbdefdaf0 RCX: 00007f4170e1779b
[ 1032.103351] RDX: 00007ffcad31b040 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1032.103352] RBP: 00007ffcad31b040 R08: 0000564dbdeef4e0 R09: 0000000000000001
[ 1032.103352] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000c03864bc
[ 1032.103353] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbdf871c0
[ 1032.103354] ---[ end trace dc2d3644d716a8a2 ]---
[ 1083.425205] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1083.425257] WARNING: CPU: 11 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1083.425258] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1083.425290]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1083.425317] CPU: 11 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1083.425318] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1083.425350] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1083.425350] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1083.425373] RSP: 0018:ffffa75704f83980 EFLAGS: 00010297
[ 1083.425374] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1083.425375] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1083.425376] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1083.425376] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1083.425377] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1083.425378] FS:  00007f416ce48e00(0000) GS:ffff9a763f8c0000(0000) knlGS:0000000000000000
[ 1083.425379] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1083.425380] CR2: 0000560fd121b368 CR3: 000000083afae001 CR4: 00000000003606e0
[ 1083.425381] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1083.425382] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1083.425382] Call Trace:
[ 1083.425419]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1083.425453]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1083.425486]  dc_commit_state+0x350/0x550 [amdgpu]
[ 1083.425520]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 1083.425523]  ? preempt_count_add+0x68/0xa0
[ 1083.425526]  ? _raw_spin_lock_irq+0x1a/0x40
[ 1083.425527]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1083.425529]  ? wait_for_common+0x113/0x190
[ 1083.425530]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1083.425531]  ? wait_for_common+0x113/0x190
[ 1083.425537]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1083.425542]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1083.425555]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1083.425563]  ? drm_mode_gamma_set_ioctl+0x1a4/0x1e0 [drm]
[ 1083.425572]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1083.425578]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1083.425585]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1083.425593]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1083.425616]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1083.425619]  do_vfs_ioctl+0xa4/0x620
[ 1083.425622]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1083.425623]  ksys_ioctl+0x60/0x90
[ 1083.425625]  __x64_sys_ioctl+0x16/0x20
[ 1083.425626]  do_syscall_64+0x5b/0x170
[ 1083.425628]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1083.425630] RIP: 0033:0x7f4170e1779b
[ 1083.425630] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1083.425653] RSP: 002b:00007ffcad31a208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1083.425654] RAX: ffffffffffffffda RBX: 0000564dbdcce9e0 RCX: 00007f4170e1779b
[ 1083.425655] RDX: 00007ffcad31a250 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1083.425655] RBP: 00007ffcad31a250 R08: 0000564dbdf86f90 R09: 0000000000000002
[ 1083.425656] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000c03864bc
[ 1083.425657] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbdf8c8e0
[ 1083.425659] ---[ end trace dc2d3644d716a8a3 ]---
[ 1083.490312] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1083.490372] WARNING: CPU: 3 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1083.490372] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1083.490405]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1083.490433] CPU: 3 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1083.490434] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1083.490467] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1083.490468] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1083.490492] RSP: 0018:ffffa75704f83888 EFLAGS: 00010297
[ 1083.490493] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1083.490494] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1083.490495] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1083.490495] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1083.490496] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1083.490497] FS:  00007f416ce48e00(0000) GS:ffff9a763f6c0000(0000) knlGS:0000000000000000
[ 1083.490498] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1083.490499] CR2: 000055559094e350 CR3: 000000083afae006 CR4: 00000000003606e0
[ 1083.490500] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1083.490500] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1083.490501] Call Trace:
[ 1083.490539]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1083.490575]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1083.490608]  dc_commit_updates_for_stream+0x221/0x610 [amdgpu]
[ 1083.490643]  commit_planes_to_stream.constprop.30+0x369/0x400 [amdgpu]
[ 1083.490681]  amdgpu_dm_atomic_commit_tail+0x7a7/0xd70 [amdgpu]
[ 1083.490685]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1083.490686]  ? wait_for_common+0x113/0x190
[ 1083.490693]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1083.490698]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1083.490711]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1083.490720]  ? drm_mode_gamma_set_ioctl+0x1a4/0x1e0 [drm]
[ 1083.490729]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1083.490736]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1083.490743]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1083.490752]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1083.490777]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1083.490780]  do_vfs_ioctl+0xa4/0x620
[ 1083.490784]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1083.490785]  ksys_ioctl+0x60/0x90
[ 1083.490787]  __x64_sys_ioctl+0x16/0x20
[ 1083.490788]  do_syscall_64+0x5b/0x170
[ 1083.490790]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1083.490792] RIP: 0033:0x7f4170e1779b
[ 1083.490792] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1083.490813] RSP: 002b:00007ffcad31a208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1083.490814] RAX: ffffffffffffffda RBX: 0000564dbdcce9e0 RCX: 00007f4170e1779b
[ 1083.490815] RDX: 00007ffcad31a250 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1083.490816] RBP: 00007ffcad31a250 R08: 0000564dbdf86f90 R09: 0000000000000002
[ 1083.490816] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000c03864bc
[ 1083.490817] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbdf8c8e0
[ 1083.490819] ---[ end trace dc2d3644d716a8a4 ]---
[ 1084.449224] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:636
[ 1084.449280] WARNING: CPU: 0 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.449281] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1084.449315]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1084.449341] CPU: 0 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1084.449342] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1084.449375] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.449376] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1084.449399] RSP: 0018:ffffa75704f838c0 EFLAGS: 00010297
[ 1084.449400] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1084.449401] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1084.449402] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000002
[ 1084.449403] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000000dad
[ 1084.449403] R13: 00000000000035af R14: 0000000000000010 R15: 0000000000000001
[ 1084.449405] FS:  00007f416ce48e00(0000) GS:ffff9a763f600000(0000) knlGS:0000000000000000
[ 1084.449406] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1084.449406] CR2: 00007f3df3d5d7a0 CR3: 000000083afae003 CR4: 00000000003606f0
[ 1084.449407] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1084.449408] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1084.449409] Call Trace:
[ 1084.449447]  dce_mi_free_dmif+0xf8/0x180 [amdgpu]
[ 1084.449483]  dce110_reset_hw_ctx_wrap+0x141/0x1b0 [amdgpu]
[ 1084.449519]  dce110_apply_ctx_to_hw+0x52/0xa30 [amdgpu]
[ 1084.449551]  ? hwmgr_handle_task+0x6b/0xc0 [amdgpu]
[ 1084.449586]  ? pp_dpm_dispatch_tasks+0x41/0x60 [amdgpu]
[ 1084.449611]  ? amdgpu_pm_compute_clocks.part.8+0xb7/0x530 [amdgpu]
[ 1084.449646]  dc_commit_state+0x2d1/0x550 [amdgpu]
[ 1084.449680]  ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[ 1084.449713]  ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[ 1084.449749]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 1084.449752]  ? preempt_count_add+0x68/0xa0
[ 1084.449755]  ? _raw_spin_lock_irq+0x1a/0x40
[ 1084.449756]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.449757]  ? wait_for_common+0x113/0x190
[ 1084.449759]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.449760]  ? wait_for_common+0x113/0x190
[ 1084.449767]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1084.449772]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1084.449787]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1084.449798]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.449804]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1084.449811]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1084.449820]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.449822]  ? __set_current_blocked+0x3d/0x60
[ 1084.449824]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.449846]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1084.449849]  do_vfs_ioctl+0xa4/0x620
[ 1084.449851]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1084.449853]  ksys_ioctl+0x60/0x90
[ 1084.449855]  __x64_sys_ioctl+0x16/0x20
[ 1084.449856]  do_syscall_64+0x5b/0x170
[ 1084.449858]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1084.449860] RIP: 0033:0x7f4170e1779b
[ 1084.449860] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1084.449884] RSP: 002b:00007ffcad31a988 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1084.449885] RAX: ffffffffffffffda RBX: 0000564dbda56a30 RCX: 00007f4170e1779b
[ 1084.449886] RDX: 00007ffcad31a9d0 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1084.449887] RBP: 00007ffcad31a9d0 R08: 0000564dbdd82800 R09: 0000000000000003
[ 1084.449888] R10: 0000000000000003 R11: 0000000000000246 R12: 00000000c03864bc
[ 1084.449888] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd8b2e30
[ 1084.449890] ---[ end trace dc2d3644d716a8a5 ]---
[ 1084.770632] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:636
[ 1084.770692] WARNING: CPU: 5 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.770693] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1084.770725]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1084.770751] CPU: 5 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1084.770752] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1084.770784] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.770785] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1084.770807] RSP: 0000:ffffa75704f838c0 EFLAGS: 00010297
[ 1084.770808] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1084.770809] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1084.770809] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000002
[ 1084.770810] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000000dad
[ 1084.770811] R13: 00000000000035af R14: 0000000000000010 R15: 0000000000000001
[ 1084.770812] FS:  00007f416ce48e00(0000) GS:ffff9a763f740000(0000) knlGS:0000000000000000
[ 1084.770813] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1084.770814] CR2: 000055932bd80008 CR3: 000000083afae006 CR4: 00000000003606e0
[ 1084.770815] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1084.770816] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1084.770816] Call Trace:
[ 1084.770854]  dce_mi_free_dmif+0xf8/0x180 [amdgpu]
[ 1084.770888]  dce110_reset_hw_ctx_wrap+0x141/0x1b0 [amdgpu]
[ 1084.770920]  dce110_apply_ctx_to_hw+0x52/0xa30 [amdgpu]
[ 1084.770951]  ? hwmgr_handle_task+0x6b/0xc0 [amdgpu]
[ 1084.770984]  ? pp_dpm_dispatch_tasks+0x41/0x60 [amdgpu]
[ 1084.771006]  ? amdgpu_pm_compute_clocks.part.8+0xb7/0x530 [amdgpu]
[ 1084.771038]  dc_commit_state+0x2d1/0x550 [amdgpu]
[ 1084.771068]  ? set_freesync_on_streams.part.6+0x187/0x250 [amdgpu]
[ 1084.771096]  ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[ 1084.771129]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 1084.771133]  ? preempt_count_add+0x68/0xa0
[ 1084.771135]  ? _raw_spin_lock_irq+0x1a/0x40
[ 1084.771137]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.771138]  ? wait_for_common+0x113/0x190
[ 1084.771139]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.771140]  ? wait_for_common+0x113/0x190
[ 1084.771148]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1084.771153]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1084.771165]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1084.771175]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.771182]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1084.771189]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1084.771198]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.771201]  ? __set_current_blocked+0x3d/0x60
[ 1084.771202]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.771228]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1084.771231]  do_vfs_ioctl+0xa4/0x620
[ 1084.771234]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1084.771235]  ksys_ioctl+0x60/0x90
[ 1084.771237]  __x64_sys_ioctl+0x16/0x20
[ 1084.771239]  do_syscall_64+0x5b/0x170
[ 1084.771241]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1084.771243] RIP: 0033:0x7f4170e1779b
[ 1084.771243] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1084.771265] RSP: 002b:00007ffcad31a988 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1084.771267] RAX: ffffffffffffffda RBX: 0000564dbdd631c0 RCX: 00007f4170e1779b
[ 1084.771268] RDX: 00007ffcad31a9d0 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1084.771269] RBP: 00007ffcad31a9d0 R08: 0000564dbdf355a0 R09: 0000000000000003
[ 1084.771269] R10: 0000000000000003 R11: 0000000000000246 R12: 00000000c03864bc
[ 1084.771270] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd8a3500
[ 1084.771272] ---[ end trace dc2d3644d716a8a6 ]---
[ 1084.868963] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1084.869019] WARNING: CPU: 6 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.869019] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1084.869053]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1084.869079] CPU: 6 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1084.869080] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1084.869114] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.869114] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1084.869137] RSP: 0018:ffffa75704f83980 EFLAGS: 00010297
[ 1084.869138] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1084.869139] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1084.869140] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1084.869140] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1084.869141] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1084.869142] FS:  00007f416ce48e00(0000) GS:ffff9a763f780000(0000) knlGS:0000000000000000
[ 1084.869143] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1084.869144] CR2: 0000556a74df7c78 CR3: 000000083afae004 CR4: 00000000003606e0
[ 1084.869145] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1084.869145] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1084.869146] Call Trace:
[ 1084.869186]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1084.869221]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1084.869257]  dc_commit_state+0x350/0x550 [amdgpu]
[ 1084.869293]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 1084.869297]  ? preempt_count_add+0x68/0xa0
[ 1084.869300]  ? _raw_spin_lock_irq+0x1a/0x40
[ 1084.869301]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.869302]  ? wait_for_common+0x113/0x190
[ 1084.869303]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.869304]  ? wait_for_common+0x113/0x190
[ 1084.869312]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1084.869317]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1084.869332]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1084.869341]  ? drm_mode_gamma_set_ioctl+0x1a4/0x1e0 [drm]
[ 1084.869350]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.869357]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1084.869364]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1084.869373]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.869375]  ? timerqueue_add+0x52/0x80
[ 1084.869398]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1084.869401]  do_vfs_ioctl+0xa4/0x620
[ 1084.869404]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1084.869406]  ksys_ioctl+0x60/0x90
[ 1084.869407]  __x64_sys_ioctl+0x16/0x20
[ 1084.869409]  do_syscall_64+0x5b/0x170
[ 1084.869410]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1084.869412] RIP: 0033:0x7f4170e1779b
[ 1084.869412] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1084.869435] RSP: 002b:00007ffcad31a988 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1084.869437] RAX: ffffffffffffffda RBX: 0000564dbdd70e90 RCX: 00007f4170e1779b
[ 1084.869437] RDX: 00007ffcad31a9d0 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1084.869438] RBP: 00007ffcad31a9d0 R08: 0000564dbdd41c80 R09: 0000000000000002
[ 1084.869439] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000c03864bc
[ 1084.869440] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbdf34290
[ 1084.869441] ---[ end trace dc2d3644d716a8a7 ]---
[ 1084.934256] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1084.934311] WARNING: CPU: 6 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.934312] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1084.934346]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1084.934372] CPU: 6 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1084.934373] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1084.934407] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1084.934407] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1084.934430] RSP: 0018:ffffa75704f83888 EFLAGS: 00010297
[ 1084.934431] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1084.934432] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1084.934433] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1084.934433] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1084.934434] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1084.934435] FS:  00007f416ce48e00(0000) GS:ffff9a763f780000(0000) knlGS:0000000000000000
[ 1084.934436] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1084.934437] CR2: 0000556a74df7c78 CR3: 000000083afae004 CR4: 00000000003606e0
[ 1084.934438] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1084.934438] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1084.934439] Call Trace:
[ 1084.934478]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1084.934514]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1084.934548]  dc_commit_updates_for_stream+0x221/0x610 [amdgpu]
[ 1084.934584]  commit_planes_to_stream.constprop.30+0x369/0x400 [amdgpu]
[ 1084.934622]  amdgpu_dm_atomic_commit_tail+0x7a7/0xd70 [amdgpu]
[ 1084.934626]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1084.934628]  ? wait_for_common+0x113/0x190
[ 1084.934635]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1084.934641]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1084.934653]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1084.934662]  ? drm_mode_gamma_set_ioctl+0x1a4/0x1e0 [drm]
[ 1084.934671]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.934678]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1084.934685]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1084.934694]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1084.934697]  ? timerqueue_add+0x52/0x80
[ 1084.934717]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1084.934721]  do_vfs_ioctl+0xa4/0x620
[ 1084.934724]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1084.934725]  ksys_ioctl+0x60/0x90
[ 1084.934727]  __x64_sys_ioctl+0x16/0x20
[ 1084.934728]  do_syscall_64+0x5b/0x170
[ 1084.934730]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1084.934732] RIP: 0033:0x7f4170e1779b
[ 1084.934732] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1084.934754] RSP: 002b:00007ffcad31a988 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1084.934756] RAX: ffffffffffffffda RBX: 0000564dbdd70e90 RCX: 00007f4170e1779b
[ 1084.934756] RDX: 00007ffcad31a9d0 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1084.934757] RBP: 00007ffcad31a9d0 R08: 0000564dbdd41c80 R09: 0000000000000002
[ 1084.934758] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000c03864bc
[ 1084.934758] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbdf34290
[ 1084.934760] ---[ end trace dc2d3644d716a8a8 ]---
[ 1085.289800] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1085.289840] WARNING: CPU: 7 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.289840] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1085.289865]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1085.289887] CPU: 7 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1085.289888] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1085.289911] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.289912] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1085.289928] RSP: 0018:ffffa75704f838a0 EFLAGS: 00010297
[ 1085.289929] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1085.289929] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1085.289930] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1085.289930] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1085.289931] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1085.289932] FS:  00007f416ce48e00(0000) GS:ffff9a763f7c0000(0000) knlGS:0000000000000000
[ 1085.289932] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1085.289933] CR2: 00005610ad47cba0 CR3: 000000083afae006 CR4: 00000000003606e0
[ 1085.289934] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1085.289934] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1085.289935] Call Trace:
[ 1085.289962]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1085.289987]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1085.290011]  dc_commit_updates_for_stream+0x221/0x610 [amdgpu]
[ 1085.290036]  commit_planes_to_stream.constprop.30+0x369/0x400 [amdgpu]
[ 1085.290062]  amdgpu_dm_atomic_commit_tail+0x7a7/0xd70 [amdgpu]
[ 1085.290065]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1085.290066]  ? wait_for_common+0x113/0x190
[ 1085.290072]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1085.290076]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1085.290079]  drm_atomic_helper_legacy_gamma_set+0x136/0x160 [drm_kms_helper]
[ 1085.290087]  drm_mode_gamma_set_ioctl+0x184/0x1e0 [drm]
[ 1085.290093]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.290098]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1085.290102]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1085.290108]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.290111]  ? __ia32_sys_epoll_ctl+0x20/0x20
[ 1085.290112]  ? timerqueue_add+0x52/0x80
[ 1085.290126]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1085.290128]  do_vfs_ioctl+0xa4/0x620
[ 1085.290130]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1085.290131]  ksys_ioctl+0x60/0x90
[ 1085.290133]  __x64_sys_ioctl+0x16/0x20
[ 1085.290134]  do_syscall_64+0x5b/0x170
[ 1085.290135]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1085.290137] RIP: 0033:0x7f4170e1779b
[ 1085.290137] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1085.290153] RSP: 002b:00007ffcad31b0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1085.290154] RAX: ffffffffffffffda RBX: 0000564dbd8a0b00 RCX: 00007f4170e1779b
[ 1085.290155] RDX: 00007ffcad31b130 RSI: 00000000c02064a5 RDI: 000000000000000b
[ 1085.290155] RBP: 00007ffcad31b130 R08: 0000564dbd8a11c0 R09: 0000564dbd8a13c0
[ 1085.290156] R10: 0000564dbd8a11c0 R11: 0000000000000246 R12: 00000000c02064a5
[ 1085.290156] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd56b540
[ 1085.290157] ---[ end trace dc2d3644d716a8a9 ]---
[ 1085.372025] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1085.372066] WARNING: CPU: 6 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.372066] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1085.372092]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1085.372113] CPU: 6 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1085.372114] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1085.372137] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.372137] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1085.372153] RSP: 0018:ffffa75704f838a0 EFLAGS: 00010297
[ 1085.372154] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1085.372155] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1085.372155] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1085.372156] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1085.372156] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1085.372157] FS:  00007f416ce48e00(0000) GS:ffff9a763f780000(0000) knlGS:0000000000000000
[ 1085.372158] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1085.372158] CR2: 00007f6a3586d700 CR3: 000000083afae003 CR4: 00000000003606e0
[ 1085.372159] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1085.372159] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1085.372160] Call Trace:
[ 1085.372188]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1085.372212]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1085.372236]  dc_commit_updates_for_stream+0x221/0x610 [amdgpu]
[ 1085.372261]  commit_planes_to_stream.constprop.30+0x369/0x400 [amdgpu]
[ 1085.372286]  amdgpu_dm_atomic_commit_tail+0x7a7/0xd70 [amdgpu]
[ 1085.372289]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1085.372290]  ? wait_for_common+0x113/0x190
[ 1085.372296]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1085.372299]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1085.372303]  drm_atomic_helper_legacy_gamma_set+0x136/0x160 [drm_kms_helper]
[ 1085.372311]  drm_mode_gamma_set_ioctl+0x184/0x1e0 [drm]
[ 1085.372317]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.372322]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1085.372327]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1085.372332]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.372335]  ? __ia32_sys_epoll_ctl+0x20/0x20
[ 1085.372337]  ? timerqueue_add+0x52/0x80
[ 1085.372350]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1085.372352]  do_vfs_ioctl+0xa4/0x620
[ 1085.372356]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1085.372357]  ksys_ioctl+0x60/0x90
[ 1085.372358]  __x64_sys_ioctl+0x16/0x20
[ 1085.372360]  do_syscall_64+0x5b/0x170
[ 1085.372361]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1085.372362] RIP: 0033:0x7f4170e1779b
[ 1085.372363] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1085.372379] RSP: 002b:00007ffcad31b0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1085.372380] RAX: ffffffffffffffda RBX: 0000564dbd8a0b00 RCX: 00007f4170e1779b
[ 1085.372380] RDX: 00007ffcad31b130 RSI: 00000000c02064a5 RDI: 000000000000000b
[ 1085.372381] RBP: 00007ffcad31b130 R08: 0000564dbd8a11c0 R09: 0000564dbd8a13c0
[ 1085.372381] R10: 0000564dbd8a11c0 R11: 0000000000000246 R12: 00000000c02064a5
[ 1085.372381] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd56b540
[ 1085.372383] ---[ end trace dc2d3644d716a8aa ]---
[ 1085.471542] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1085.471585] WARNING: CPU: 7 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.471585] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1085.471611]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1085.471633] CPU: 7 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1085.471633] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1085.471656] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.471656] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1085.471672] RSP: 0018:ffffa75704f838a0 EFLAGS: 00010297
[ 1085.471673] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1085.471674] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1085.471674] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1085.471675] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1085.471675] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1085.471676] FS:  00007f416ce48e00(0000) GS:ffff9a763f7c0000(0000) knlGS:0000000000000000
[ 1085.471677] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1085.471677] CR2: 00007f31e283649f CR3: 000000083afae004 CR4: 00000000003606e0
[ 1085.471678] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1085.471678] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1085.471679] Call Trace:
[ 1085.471706]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1085.471730]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1085.471754]  dc_commit_updates_for_stream+0x221/0x610 [amdgpu]
[ 1085.471779]  commit_planes_to_stream.constprop.30+0x369/0x400 [amdgpu]
[ 1085.471805]  amdgpu_dm_atomic_commit_tail+0x7a7/0xd70 [amdgpu]
[ 1085.471810]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1085.471811]  ? wait_for_common+0x113/0x190
[ 1085.471817]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1085.471821]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1085.471824]  drm_atomic_helper_legacy_gamma_set+0x136/0x160 [drm_kms_helper]
[ 1085.471836]  drm_mode_gamma_set_ioctl+0x184/0x1e0 [drm]
[ 1085.471842]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.471847]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1085.471851]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1085.471857]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.471860]  ? __ia32_sys_epoll_ctl+0x20/0x20
[ 1085.471861]  ? timerqueue_add+0x52/0x80
[ 1085.471875]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1085.471878]  do_vfs_ioctl+0xa4/0x620
[ 1085.471880]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1085.471882]  ksys_ioctl+0x60/0x90
[ 1085.471883]  __x64_sys_ioctl+0x16/0x20
[ 1085.471884]  do_syscall_64+0x5b/0x170
[ 1085.471886]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1085.471887] RIP: 0033:0x7f4170e1779b
[ 1085.471887] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1085.471903] RSP: 002b:00007ffcad31b0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1085.471904] RAX: ffffffffffffffda RBX: 0000564dbd8a0b00 RCX: 00007f4170e1779b
[ 1085.471904] RDX: 00007ffcad31b130 RSI: 00000000c02064a5 RDI: 000000000000000b
[ 1085.471905] RBP: 00007ffcad31b130 R08: 0000564dbd8a11c0 R09: 0000564dbd8a13c0
[ 1085.471905] R10: 0000564dbd8a11c0 R11: 0000000000000246 R12: 00000000c02064a5
[ 1085.471906] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd56b540
[ 1085.471907] ---[ end trace dc2d3644d716a8ab ]---
[ 1085.588371] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1085.588429] WARNING: CPU: 7 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.588430] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1085.588463]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1085.588490] CPU: 7 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1085.588491] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1085.588524] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1085.588524] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1085.588547] RSP: 0018:ffffa75704f838a0 EFLAGS: 00010297
[ 1085.588548] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1085.588549] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1085.588549] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1085.588550] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1085.588551] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1085.588552] FS:  00007f416ce48e00(0000) GS:ffff9a763f7c0000(0000) knlGS:0000000000000000
[ 1085.588553] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1085.588553] CR2: 00007ff8634b6d78 CR3: 000000083afae004 CR4: 00000000003606e0
[ 1085.588554] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1085.588555] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1085.588556] Call Trace:
[ 1085.588596]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1085.588631]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1085.588666]  dc_commit_updates_for_stream+0x221/0x610 [amdgpu]
[ 1085.588698]  commit_planes_to_stream.constprop.30+0x369/0x400 [amdgpu]
[ 1085.588733]  amdgpu_dm_atomic_commit_tail+0x7a7/0xd70 [amdgpu]
[ 1085.588737]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1085.588739]  ? wait_for_common+0x113/0x190
[ 1085.588746]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1085.588751]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1085.588756]  drm_atomic_helper_legacy_gamma_set+0x136/0x160 [drm_kms_helper]
[ 1085.588767]  drm_mode_gamma_set_ioctl+0x184/0x1e0 [drm]
[ 1085.588776]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.588783]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1085.588790]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1085.588798]  ? drm_plane_create_color_properties+0x1c0/0x1c0 [drm]
[ 1085.588801]  ? __ia32_sys_epoll_ctl+0x20/0x20
[ 1085.588803]  ? timerqueue_add+0x52/0x80
[ 1085.588828]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1085.588831]  do_vfs_ioctl+0xa4/0x620
[ 1085.588834]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1085.588836]  ksys_ioctl+0x60/0x90
[ 1085.588837]  __x64_sys_ioctl+0x16/0x20
[ 1085.588838]  do_syscall_64+0x5b/0x170
[ 1085.588841]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1085.588843] RIP: 0033:0x7f4170e1779b
[ 1085.588843] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1085.588866] RSP: 002b:00007ffcad31b0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1085.588868] RAX: ffffffffffffffda RBX: 0000564dbd8a0b00 RCX: 00007f4170e1779b
[ 1085.588869] RDX: 00007ffcad31b130 RSI: 00000000c02064a5 RDI: 000000000000000b
[ 1085.588869] RBP: 00007ffcad31b130 R08: 0000564dbd8a11c0 R09: 0000564dbd8a13c0
[ 1085.588870] R10: 0000564dbd8a11c0 R11: 0000000000000246 R12: 00000000c02064a5
[ 1085.588871] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd56b540
[ 1085.588873] ---[ end trace dc2d3644d716a8ac ]---
[ 1090.391872] perf: interrupt took too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
[ 1099.126381] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599
[ 1099.126433] WARNING: CPU: 14 PID: 1333 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1099.126434] Modules linked in: fuse mousedev input_leds hid_logitech_hidpp uvcvideo hid_logitech_dj hid_apple hid_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_usb_audio videobuf2_common videodev snd_usbmidi_lib joydev usbhid snd_rawmidi xpad media snd_seq_device hid ff_memless usblp msr vmnet(O) nct6775 hwmon_vid amdkfd amd_iommu_v2 snd_hda_codec_realtek amdgpu snd_hda_codec_generic snd_hda_codec_hdmi intel_rapl nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm chash gpu_sched i2c_algo_bit ttm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc drm_kms_helper aesni_intel eeepc_wmi aes_x86_64 asus_wmi crypto_simd cryptd glue_helper snd_hda_intel sparse_keymap intel_cstate rfkill iTCO_wdt drm iTCO_vendor_support led_class mxm_wmi wmi_bmof intel_wmi_thunderbolt
[ 1099.126468]  snd_hda_codec agpgart snd_hda_core syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hwdep intel_uncore snd_pcm intel_rapl_perf snd_timer mei_me pcspkr e1000e snd mei ioatdma soundcore i2c_i801 evdev dca mac_hid rtc_cmos pcc_cpufreq wmi vmmon(O) vmw_vmci vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) sg crypto_user ip_tables x_tables xfs libcrc32c crc32c_generic sd_mod ahci xhci_pci libahci xhci_hcd libata crc32c_intel usbcore scsi_mod usb_common
[ 1099.126496] CPU: 14 PID: 1333 Comm: Xorg Tainted: G        W  O      4.18.5-arch1-1-ARCH #1
[ 1099.126497] Hardware name: System manufacturer System Product Name/PRIME X299-A, BIOS 1503 08/03/2018
[ 1099.126534] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 1099.126534] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 cf eb c0 e8 04 80 dc ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 1099.126558] RSP: 0000:ffffa75704f83980 EFLAGS: 00010297
[ 1099.126559] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 1099.126560] RDX: 0000000000000000 RSI: ffffffff9d8811ce RDI: 00000000ffffffff
[ 1099.126560] RBP: ffff9a763ae4f000 R08: ffffffff9ceddf10 R09: 0000000000000000
[ 1099.126561] R10: 0000000000000004 R11: ffffffff9e004f2d R12: 0000000000001771
[ 1099.126562] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001
[ 1099.126563] FS:  00007f416ce48e00(0000) GS:ffff9a763f980000(0000) knlGS:0000000000000000
[ 1099.126564] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1099.126565] CR2: 000000000407b048 CR3: 000000083afae001 CR4: 00000000003606e0
[ 1099.126566] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1099.126566] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1099.126567] Call Trace:
[ 1099.126606]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 1099.126641]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 1099.126676]  dc_commit_state+0x253/0x550 [amdgpu]
[ 1099.126713]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 1099.126717]  ? preempt_count_add+0x68/0xa0
[ 1099.126719]  ? _raw_spin_lock_irq+0x1a/0x40
[ 1099.126721]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1099.126722]  ? wait_for_common+0x113/0x190
[ 1099.126723]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 1099.126724]  ? wait_for_common+0x113/0x190
[ 1099.126731]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 1099.126736]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 1099.126749]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 1099.126752]  ? import_iovec+0x37/0xd0
[ 1099.126761]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1099.126768]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 1099.126776]  drm_ioctl+0x30e/0x3c0 [drm]
[ 1099.126785]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 1099.126787]  ? timerqueue_add+0x52/0x80
[ 1099.126810]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 1099.126813]  do_vfs_ioctl+0xa4/0x620
[ 1099.126816]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 1099.126818]  ksys_ioctl+0x60/0x90
[ 1099.126819]  __x64_sys_ioctl+0x16/0x20
[ 1099.126821]  do_syscall_64+0x5b/0x170
[ 1099.126823]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1099.126825] RIP: 0033:0x7f4170e1779b
[ 1099.126825] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48
[ 1099.126849] RSP: 002b:00007ffcad31aff8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 1099.126850] RAX: ffffffffffffffda RBX: 0000564dbda44ad0 RCX: 00007f4170e1779b
[ 1099.126851] RDX: 00007ffcad31b040 RSI: 00000000c03864bc RDI: 000000000000000b
[ 1099.126851] RBP: 00007ffcad31b040 R08: 0000564dbdf86f90 R09: 0000000000000001
[ 1099.126852] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000c03864bc
[ 1099.126853] R13: 000000000000000b R14: 0000000000000000 R15: 0000564dbd8b22d0
[ 1099.126855] ---[ end trace dc2d3644d716a8ad ]---
Comment 8 Barry G 2018-09-04 14:35:31 UTC
My Archlinux system just update to 4.18 and now I also can't resume a display.  SSH yields the following in my dmesg:

[ 3317.637991] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 6000 tries - dce_mi_allocate_dmif line:599                                       
[ 3317.638034] WARNING: CPU: 10 PID: 5473 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 3317.638034] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache nls_iso8859_1 nls_cp437 vfat fat wmi_bmof mxm_wmi edac_mce_amd pl2303 kvm usbserial irqbypass xpad ff_memless snd_hda_codec_realtek uvcvideo joydev cdc_acm snd_hda_codec_hdmi snd_hda_codec_generic videobuf2_vmalloc snd_usb_audio videobuf2_memops videobuf2_v4l2 videobuf2_common input_leds snd_usbmidi_lib pcspkr led_class videodev snd_hda_intel mousedev snd_rawmidi snd_hda_codec media snd_seq_device ixgbe snd_hda_core snd_hwdep snd_pcm igb snd_timer snd sp5100_tco mdio k10temp dca i2c_piix4 soundcore rtc_cmos wmi pinctrl_amd gpio_amdpt evdev mac_hid pcc_cpufreq acpi_cpufreq sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg dm_crypt dm_mod
[ 3317.638052]  sd_mod uas usb_storage hid_generic usbhid hid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd xhci_pci ahci cryptd glue_helper libahci mpt3sas xhci_hcd raid_class libata scsi_transport_sas ccp rng_core usbcore scsi_mod usb_common amdgpu chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
[ 3317.638064] CPU: 10 PID: 5473 Comm: Xorg Tainted: G        W         4.18.5-arch1-1-ARCH #1
[ 3317.638064] Hardware name: Micro-Star International Co., Ltd. MS-7B09/X399 GAMING PRO CARBON AC (MS-7B09), BIOS 1.70 12/18/2017
[ 3317.638089] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 3317.638089] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 18 ff 50 c0 e8 04 30 d5 ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f 
[ 3317.638102] RSP: 0018:ffffa5ad07b7b980 EFLAGS: 00010297
[ 3317.638103] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001
[ 3317.638104] RDX: 0000000000000000 RSI: ffffffff8c0811ce RDI: 00000000ffffffff
[ 3317.638104] RBP: ffff9063efd12e80 R08: ffffffff8b6ddf10 R09: 0000000000000000
[ 3317.638105] R10: 0000000000000004 R11: ffffffff8c804f2d R12: 0000000000001771
[ 3317.638105] R13: 00000000000035b1 R14: 0000000000000010 R15: 0000000000000001
[ 3317.638106] FS:  00007f58f677ee00(0000) GS:ffff9063fcc80000(0000) knlGS:0000000000000000
[ 3317.638106] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3317.638107] CR2: 00007f994ae51000 CR3: 0000000fd3e1a000 CR4: 00000000003406e0
[ 3317.638107] Call Trace:
[ 3317.638135]  dce_mi_allocate_dmif+0xf6/0x220 [amdgpu]
[ 3317.638162]  dce110_apply_ctx_for_surface+0xf1/0x260 [amdgpu]
[ 3317.638187]  dc_commit_state+0x350/0x550 [amdgpu]
[ 3317.638214]  amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 3317.638216]  ? preempt_count_add+0x68/0xa0
[ 3317.638217]  ? _raw_spin_lock_irq+0x1a/0x40
[ 3317.638218]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 3317.638219]  ? wait_for_common+0x113/0x190
[ 3317.638220]  ? _raw_spin_unlock_irq+0x1d/0x30
[ 3317.638221]  ? wait_for_common+0x113/0x190
[ 3317.638226]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 3317.638230]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[ 3317.638237]  drm_mode_atomic_ioctl+0x7b1/0x920 [drm]
[ 3317.638244]  ? drm_mode_gamma_set_ioctl+0x1a4/0x1e0 [drm]
[ 3317.638250]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 3317.638255]  drm_ioctl_kernel+0xa7/0xf0 [drm]
[ 3317.638260]  drm_ioctl+0x30e/0x3c0 [drm]
[ 3317.638266]  ? drm_atomic_set_property+0x510/0x510 [drm]
[ 3317.638282]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 3317.638285]  do_vfs_ioctl+0xa4/0x620
[ 3317.638286]  ? syscall_slow_exit_work+0x19b/0x1b0
[ 3317.638287]  ksys_ioctl+0x60/0x90
[ 3317.638288]  __x64_sys_ioctl+0x16/0x20
[ 3317.638289]  do_syscall_64+0x5b/0x170
[ 3317.638291]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 3317.638292] RIP: 0033:0x7f58fa55079b
[ 3317.638292] Code: 0f 1e fa 48 8b 05 c5 b6 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 95 b6 0c 00 f7 d8 64 89 01 48 
[ 3317.638305] RSP: 002b:00007fffdf163ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 3317.638306] RAX: ffffffffffffffda RBX: 0000561db012e740 RCX: 00007f58fa55079b
[ 3317.638307] RDX: 00007fffdf163f20 RSI: 00000000c03864bc RDI: 000000000000000e
[ 3317.638307] RBP: 00007fffdf163f20 R08: 0000561db06b29a0 R09: 0000000000000002
[ 3317.638308] R10: 0000000000000002 R11: 0000000000000246 R12: 00000000c03864bc
[ 3317.638308] R13: 000000000000000e R14: 0000000000000000 R15: 0000561db007ec20
[ 3317.638309] ---[ end trace 7afdbaeea0334919 ]---

I wasn't having these issues with 4.17 as far as I could tell.
Comment 9 Aleksandr Mezin 2018-09-05 09:14:09 UTC
(In reply to Barry G from comment #8)
> I wasn't having these issues with 4.17 as far as I could tell.

Just re-tested 4.17.0 - no, the issue is present there too.
4.19-rc2 works fine though
Comment 10 Benjamin Berg 2018-09-11 14:15:03 UTC
Created attachment 278451 [details]
Similar hang with Raven Ridge

Seeing a similar REG_WAIT timeout on a HP Elitebook. Attached both dmesg and lspci from the machine, here the except from the traceback. Reproduced simply by locking the screen in GNOME (causing the display to be suspended).

[ 6774.480794] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628
[ 6774.480879] WARNING: CPU: 1 PID: 1831 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254 generic_reg_wait+0xe7/0x160 [amdgpu]
[ 6774.480880] Modules linked in: fuse rfcomm ccm nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat devlink ebtable_broute bridge stp llc ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep sunrpc vfat fat arc4 hp_wmi sparse_keymap wmi_bmof iwlmvm edac_mce_amd kvm_amd ccp kvm mac80211 snd_hda_codec_conexant snd_hda_codec_generic irqbypass snd_hda_codec_hdmi crct10dif_pclmul crc32_pclmul snd_hda_intel ghash_clmulni_intel uvcvideo snd_hda_codec btusb btrtl videobuf2_vmalloc btbcm btintel videobuf2_memops snd_hda_core
[ 6774.480957]  videobuf2_v4l2 bluetooth snd_hwdep snd_seq snd_seq_device iwlwifi videobuf2_common snd_pcm videodev media joydev ecdh_generic snd_timer cfg80211 snd sp5100_tco i2c_piix4 k10temp soundcore rfkill ucsi_acpi typec_ucsi ipmi_devintf ipmi_msghandler typec wmi pcc_cpufreq video hp_wireless pinctrl_amd acpi_cpufreq amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit gpu_sched drm_kms_helper ttm crc32c_intel serio_raw drm nvme nvme_core r8169 libphy i2c_hid
[ 6774.481011] CPU: 1 PID: 1831 Comm: gnome-shell Tainted: G        W         4.19.0-0.rc2.git3.1.fc30.x86_64 #1
[ 6774.481012] Hardware name: HP HP EliteBook 745 G5/83D5, BIOS Q81 Ver. 01.00.03 04/30/2018
[ 6774.481054] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 6774.481057] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 50 48 c7 c7 60 9a 80 c0 e8 24 1f da ff 83 7d 18 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f
[ 6774.481058] RSP: 0018:ffffbfbe49a43910 EFLAGS: 00010297
[ 6774.481061] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[ 6774.481062] RDX: 0000000000000000 RSI: ffff9d49de3d6be8 RDI: ffff9d49de3d6be8
[ 6774.481064] RBP: ffff9d49ceebcc80 R08: 0000008b7ecdffe6 R09: 0000000000000001
[ 6774.481065] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000b
[ 6774.481067] R13: 000000000000504d R14: 0000000000000100 R15: 0000000000000001
[ 6774.481069] FS:  00007f20a0d01d00(0000) GS:ffff9d49de200000(0000) knlGS:0000000000000000
[ 6774.481070] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6774.481072] CR2: 0000262ac5892e30 CR3: 00000003cec9a000 CR4: 00000000003406e0
[ 6774.481073] Call Trace:
[ 6774.481124]  optc1_lock+0xa0/0xb0 [amdgpu]
[ 6774.481172]  dcn10_pipe_control_lock.part.27+0x4a/0x70 [amdgpu]
[ 6774.481218]  dcn10_apply_ctx_for_surface+0xc5/0x510 [amdgpu]
[ 6774.481264]  dc_commit_state+0x249/0x520 [amdgpu]
[ 6774.481305]  ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[ 6774.481348]  ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[ 6774.481396]  amdgpu_dm_atomic_commit_tail+0x380/0xd90 [amdgpu]
[ 6774.481403]  ? lockdep_hardirqs_on+0xed/0x180
[ 6774.481407]  ? _raw_spin_unlock_irq+0x29/0x40
[ 6774.481410]  ? wait_for_completion_timeout+0x73/0x1a0
[ 6774.481423]  commit_tail+0x3d/0x70 [drm_kms_helper]
[ 6774.481430]  drm_atomic_helper_commit+0xdf/0x150 [drm_kms_helper]
[ 6774.481445]  drm_atomic_connector_commit_dpms+0xdb/0x100 [drm]
[ 6774.481458]  set_property_atomic+0xb9/0x120 [drm]
[ 6774.481478]  drm_mode_obj_set_property_ioctl+0x103/0x1c0 [drm]
[ 6774.481491]  ? drm_mode_obj_find_prop_id+0x40/0x40 [drm]
[ 6774.481500]  drm_ioctl_kernel+0xa5/0xf0 [drm]
[ 6774.481513]  drm_ioctl+0x1fc/0x390 [drm]
[ 6774.481526]  ? drm_mode_obj_find_prop_id+0x40/0x40 [drm]
[ 6774.481531]  ? __pm_runtime_resume+0x54/0x90
[ 6774.481535]  ? lockdep_hardirqs_on+0xed/0x180
[ 6774.481570]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 6774.481576]  do_vfs_ioctl+0xa5/0x6e0
[ 6774.481583]  ksys_ioctl+0x60/0x90
[ 6774.481587]  __x64_sys_ioctl+0x16/0x20
[ 6774.481591]  do_syscall_64+0x60/0x1f0
[ 6774.481594]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
[...]
Comment 11 Aleksandr Mezin 2018-12-10 02:44:49 UTC
4.18 is EOL now, I'm currently on 4.20-rc. This problem doesn't occur on 4.20, and on 4.19 too. Should I close this bug as obsolete?
Comment 12 Michael Rauch 2018-12-31 15:16:02 UTC
Hello,

I observe the same behavior. The log entries are also identical. I am using kernel 4.19.13.

Regards

Michael