dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628
Date: Sat, 19 Jan 2019 10:40:00 +0000	[thread overview]
Message-ID: <bug-107261-502-SDobadIA0V@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-107261-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 12879 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=107261

--- Comment #13 from Paul Menzel <pmenzel+bugs.freedesktop.org@molgen.mpg.de> ---
No, it’s not fixed, and is still happening with Linux 5.0-rc2+. :(

[ 4541.016791] [drm] REG_WAIT timeout 1us * 10 tries - optc1_lock line:606
[ 4541.016840] WARNING: CPU: 3 PID: 879 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:249
generic_reg_wait.cold.3+0x2a/0x31 [amdgpu]
[ 4541.016841] Modules linked in: nls_utf8 udf crc_itu_t fuse
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi crct10dif_pclmul
crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hda_core
k10temp usb_storage snd_hwdep i2c_piix4 snd_pcm amdgpu snd_timer snd soundcore
chash gpu_sched r8169 realtek wmi video pcc_cpufreq acpi_cpufreq crc32c_intel
xhci_pci xhci_hcd
[ 4541.016851] CPU: 3 PID: 879 Comm: gnome-shell Tainted: G        W        
5.0.0-rc2-00253-g2c37e7ae7a69 #1
[ 4541.016852] Hardware name: Micro-Star International Co., Ltd. MS-7A37/B350M
MORTAR (MS-7A37), BIOS 1.I0 11/06/2018
[ 4541.016881] RIP: 0010:generic_reg_wait.cold.3+0x2a/0x31 [amdgpu]
[ 4541.016882] Code: 44 8b 44 24 68 48 8b 4c 24 60 48 c7 c7 98 85 5b c0 8b 54
24 58 8b 74 24 04 e8 05 db bd cf 41 83 7c 24 20 01 0f 84 ec ea fe ff <0f> 0b e9
e5 ea fe ff e8 cf 4a ef ff 48 c7 c7 00 d0 63 c0 e8 b3 a1
[ 4541.016883] RSP: 0018:ffffba2c822679a8 EFLAGS: 00010297
[ 4541.016884] RAX: 000000000000003b RBX: 000000000000000b RCX:
0000000000000000
[ 4541.016885] RDX: 0000000000000000 RSI: ffff9f8390ad5508 RDI:
ffff9f8390ad5508
[ 4541.016885] RBP: 000000000000504d R08: 0000000000000409 R09:
0000000000000004
[ 4541.016886] R10: 0000000000000000 R11: 0000000000000001 R12:
ffff9f83846ab8c0
[ 4541.016886] R13: ffff9f8376f04800 R14: 0000000000000001 R15:
0000000000000100
[ 4541.016887] FS:  00007f7860767cc0(0000) GS:ffff9f8390ac0000(0000)
knlGS:0000000000000000
[ 4541.016888] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4541.016888] CR2: 0000365b31df7ea0 CR3: 00000003e5b86000 CR4:
00000000003406e0
[ 4541.016889] Call Trace:
[ 4541.016922]  optc1_lock+0xa0/0xb0 [amdgpu]
[ 4541.016955]  dcn10_pipe_control_lock.part.18+0x4a/0x70 [amdgpu]
[ 4541.016986]  dcn10_apply_ctx_for_surface+0xc9/0x5c0 [amdgpu]
[ 4541.017016]  dc_commit_state+0x25a/0x530 [amdgpu]
[ 4541.017019]  ? __save_stack_trace+0x92/0x100
[ 4541.017051]  amdgpu_dm_atomic_commit_tail+0x1ed/0xb80 [amdgpu]
[ 4541.017074]  ? amdgpu_bo_pin_restricted+0x60/0x280 [amdgpu]
[ 4541.017077]  ? _cond_resched+0x15/0x30
[ 4541.017078]  ? wait_for_completion_interruptible+0x35/0x1b0
[ 4541.017080]  commit_tail+0x3d/0x70
[ 4541.017082]  drm_atomic_helper_commit+0x103/0x110
[ 4541.017084]  drm_atomic_connector_commit_dpms+0xdb/0x100
[ 4541.017085]  drm_mode_obj_set_property_ioctl+0x184/0x2b0
[ 4541.017087]  ? import_iovec+0x52/0xb0
[ 4541.017088]  ? drm_mode_obj_find_prop_id+0x40/0x40
[ 4541.017089]  drm_ioctl_kernel+0xa9/0xf0
[ 4541.017091]  drm_ioctl+0x201/0x3a0
[ 4541.017092]  ? drm_mode_obj_find_prop_id+0x40/0x40
[ 4541.017093]  ? __switch_to_asm+0x40/0x70
[ 4541.017093]  ? __switch_to_asm+0x34/0x70
[ 4541.017094]  ? __switch_to_asm+0x34/0x70
[ 4541.017095]  ? __switch_to_asm+0x40/0x70
[ 4541.017096]  ? __switch_to_asm+0x34/0x70
[ 4541.017096]  ? __switch_to_asm+0x40/0x70
[ 4541.017097]  ? __switch_to_asm+0x34/0x70
[ 4541.017119]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 4541.017122]  do_vfs_ioctl+0xa4/0x630
[ 4541.017123]  ksys_ioctl+0x60/0x90
[ 4541.017124]  __x64_sys_ioctl+0x16/0x20
[ 4541.017126]  do_syscall_64+0x55/0x170
[ 4541.017127]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 4541.017128] RIP: 0033:0x7f786899a747
[ 4541.017129] Code: 00 00 90 48 8b 05 49 a7 0c 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff 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 19 a7 0c 00 f7 d8 64 89 01 48
[ 4541.017130] RSP: 002b:00007ffeb4364898 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 4541.017131] RAX: ffffffffffffffda RBX: 000055660a6f4240 RCX:
00007f786899a747
[ 4541.017131] RDX: 00007ffeb43648d0 RSI: 00000000c01864ba RDI:
0000000000000009
[ 4541.017132] RBP: 00007ffeb43648d0 R08: 0000000000000000 R09:
000055660a6baf90
[ 4541.017132] R10: 000055660a6f0748 R11: 0000000000000246 R12:
00000000c01864ba
[ 4541.017133] R13: 0000000000000009 R14: 00007ffeb4364ad0 R15:
00007f786978da20
[ 4541.017134] ---[ end trace 8f89d4a6d6deffdf ]---
[ 5053.897046] kmemleak: 31 new suspected memory leaks (see
/sys/kernel/debug/kmemleak)
[ 5676.460277] kmemleak: 701 new suspected memory leaks (see
/sys/kernel/debug/kmemleak)
[ 5983.816137] [drm] REG_WAIT timeout 1us * 10 tries - optc1_lock line:606
[ 5983.816186] WARNING: CPU: 1 PID: 879 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:249
generic_reg_wait.cold.3+0x2a/0x31 [amdgpu]
[ 5983.816186] Modules linked in: nls_utf8 udf crc_itu_t fuse
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi crct10dif_pclmul
crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hda_core
k10temp usb_storage snd_hwdep i2c_piix4 snd_pcm amdgpu snd_timer snd soundcore
chash gpu_sched r8169 realtek wmi video pcc_cpufreq acpi_cpufreq crc32c_intel
xhci_pci xhci_hcd
[ 5983.816196] CPU: 1 PID: 879 Comm: gnome-shell Tainted: G        W        
5.0.0-rc2-00253-g2c37e7ae7a69 #1
[ 5983.816197] Hardware name: Micro-Star International Co., Ltd. MS-7A37/B350M
MORTAR (MS-7A37), BIOS 1.I0 11/06/2018
[ 5983.816226] RIP: 0010:generic_reg_wait.cold.3+0x2a/0x31 [amdgpu]
[ 5983.816227] Code: 44 8b 44 24 68 48 8b 4c 24 60 48 c7 c7 98 85 5b c0 8b 54
24 58 8b 74 24 04 e8 05 db bd cf 41 83 7c 24 20 01 0f 84 ec ea fe ff <0f> 0b e9
e5 ea fe ff e8 cf 4a ef ff 48 c7 c7 00 d0 63 c0 e8 b3 a1
[ 5983.816228] RSP: 0018:ffffba2c822679a8 EFLAGS: 00010297
[ 5983.816229] RAX: 000000000000003b RBX: 000000000000000b RCX:
0000000000000000
[ 5983.816230] RDX: 0000000000000000 RSI: ffff9f8390a55508 RDI:
ffff9f8390a55508
[ 5983.816230] RBP: 000000000000504d R08: 0000000000000444 R09:
0000000000000004
[ 5983.816231] R10: 0000000000000000 R11: 0000000000000001 R12:
ffff9f83846ab8c0
[ 5983.816231] R13: ffff9f8384691000 R14: 0000000000000001 R15:
0000000000000100
[ 5983.816232] FS:  00007f7860767cc0(0000) GS:ffff9f8390a40000(0000)
knlGS:0000000000000000
[ 5983.816233] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5983.816233] CR2: 0000365b31e02c60 CR3: 00000003e5b86000 CR4:
00000000003406e0
[ 5983.816234] Call Trace:
[ 5983.816268]  optc1_lock+0xa0/0xb0 [amdgpu]
[ 5983.816301]  dcn10_pipe_control_lock.part.18+0x4a/0x70 [amdgpu]
[ 5983.816333]  dcn10_apply_ctx_for_surface+0xc9/0x5c0 [amdgpu]
[ 5983.816362]  dc_commit_state+0x25a/0x530 [amdgpu]
[ 5983.816365]  ? __save_stack_trace+0x92/0x100
[ 5983.816397]  amdgpu_dm_atomic_commit_tail+0x1ed/0xb80 [amdgpu]
[ 5983.816421]  ? amdgpu_bo_pin_restricted+0x60/0x280 [amdgpu]
[ 5983.816423]  ? _cond_resched+0x15/0x30
[ 5983.816425]  ? wait_for_completion_interruptible+0x35/0x1b0
[ 5983.816427]  commit_tail+0x3d/0x70
[ 5983.816428]  drm_atomic_helper_commit+0x103/0x110
[ 5983.816431]  drm_atomic_connector_commit_dpms+0xdb/0x100
[ 5983.816432]  drm_mode_obj_set_property_ioctl+0x184/0x2b0
[ 5983.816434]  ? import_iovec+0x52/0xb0
[ 5983.816435]  ? drm_mode_obj_find_prop_id+0x40/0x40
[ 5983.816436]  drm_ioctl_kernel+0xa9/0xf0
[ 5983.816437]  drm_ioctl+0x201/0x3a0
[ 5983.816438]  ? drm_mode_obj_find_prop_id+0x40/0x40
[ 5983.816440]  ? eventfd_read+0xc6/0x250
[ 5983.816463]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 5983.816465]  do_vfs_ioctl+0xa4/0x630
[ 5983.816466]  ksys_ioctl+0x60/0x90
[ 5983.816468]  ? ksys_read+0x9c/0xb0
[ 5983.816469]  __x64_sys_ioctl+0x16/0x20
[ 5983.816471]  do_syscall_64+0x55/0x170
[ 5983.816472]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 5983.816473] RIP: 0033:0x7f786899a747
[ 5983.816474] Code: 00 00 90 48 8b 05 49 a7 0c 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff 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 19 a7 0c 00 f7 d8 64 89 01 48
[ 5983.816475] RSP: 002b:00007ffeb4364898 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 5983.816475] RAX: ffffffffffffffda RBX: 000055660a6f4240 RCX:
00007f786899a747
[ 5983.816476] RDX: 00007ffeb43648d0 RSI: 00000000c01864ba RDI:
0000000000000009
[ 5983.816476] RBP: 00007ffeb43648d0 R08: 0000000000000000 R09:
000055660a6baf90
[ 5983.816477] R10: 000055660a6f0748 R11: 0000000000000246 R12:
00000000c01864ba
[ 5983.816477] R13: 0000000000000009 R14: 00007ffeb4364ad0 R15:
00007f786978da20
[ 5983.816479] ---[ end trace 8f89d4a6d6deffe0 ]---
[ 6014.670181] [drm] REG_WAIT timeout 1us * 10 tries - optc1_lock line:606
[ 6014.670229] WARNING: CPU: 0 PID: 879 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:249
generic_reg_wait.cold.3+0x2a/0x31 [amdgpu]
[ 6014.670230] Modules linked in: nls_utf8 udf crc_itu_t fuse
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi crct10dif_pclmul
crc32_pclmul snd_hda_intel ghash_clmulni_intel snd_hda_codec snd_hda_core
k10temp usb_storage snd_hwdep i2c_piix4 snd_pcm amdgpu snd_timer snd soundcore
chash gpu_sched r8169 realtek wmi video pcc_cpufreq acpi_cpufreq crc32c_intel
xhci_pci xhci_hcd
[ 6014.670240] CPU: 0 PID: 879 Comm: gnome-shell Tainted: G        W        
5.0.0-rc2-00253-g2c37e7ae7a69 #1
[ 6014.670241] Hardware name: Micro-Star International Co., Ltd. MS-7A37/B350M
MORTAR (MS-7A37), BIOS 1.I0 11/06/2018
[ 6014.670271] RIP: 0010:generic_reg_wait.cold.3+0x2a/0x31 [amdgpu]
[ 6014.670272] Code: 44 8b 44 24 68 48 8b 4c 24 60 48 c7 c7 98 85 5b c0 8b 54
24 58 8b 74 24 04 e8 05 db bd cf 41 83 7c 24 20 01 0f 84 ec ea fe ff <0f> 0b e9
e5 ea fe ff e8 cf 4a ef ff 48 c7 c7 00 d0 63 c0 e8 b3 a1
[ 6014.670273] RSP: 0018:ffffba2c822679a8 EFLAGS: 00010297
[ 6014.670274] RAX: 000000000000003b RBX: 000000000000000b RCX:
0000000000000000
[ 6014.670274] RDX: 0000000000000000 RSI: ffff9f8390a15508 RDI:
ffff9f8390a15508
[ 6014.670275] RBP: 000000000000504d R08: 0000000000000478 R09:
0000000000000004
[ 6014.670275] R10: 0000000000000000 R11: 0000000000000001 R12:
ffff9f83846ab8c0
[ 6014.670276] R13: ffff9f836643bc00 R14: 0000000000000001 R15:
0000000000000100
[ 6014.670277] FS:  00007f7860767cc0(0000) GS:ffff9f8390a00000(0000)
knlGS:0000000000000000
[ 6014.670278] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6014.670278] CR2: 00007f785f18500c CR3: 00000003e5b86000 CR4:
00000000003406f0
[ 6014.670278] Call Trace:
[ 6014.670312]  optc1_lock+0xa0/0xb0 [amdgpu]
[ 6014.670345]  dcn10_pipe_control_lock.part.18+0x4a/0x70 [amdgpu]
[ 6014.670377]  dcn10_apply_ctx_for_surface+0xc9/0x5c0 [amdgpu]
[ 6014.670406]  dc_commit_state+0x25a/0x530 [amdgpu]
[ 6014.670409]  ? __save_stack_trace+0x92/0x100
[ 6014.670441]  amdgpu_dm_atomic_commit_tail+0x1ed/0xb80 [amdgpu]
[ 6014.670465]  ? amdgpu_bo_pin_restricted+0x60/0x280 [amdgpu]
[ 6014.670467]  ? _cond_resched+0x15/0x30
[ 6014.670469]  ? wait_for_completion_interruptible+0x35/0x1b0
[ 6014.670471]  commit_tail+0x3d/0x70
[ 6014.670472]  drm_atomic_helper_commit+0x103/0x110
[ 6014.670474]  drm_atomic_connector_commit_dpms+0xdb/0x100
[ 6014.670476]  drm_mode_obj_set_property_ioctl+0x184/0x2b0
[ 6014.670478]  ? import_iovec+0x52/0xb0
[ 6014.670479]  ? drm_mode_obj_find_prop_id+0x40/0x40
[ 6014.670481]  drm_ioctl_kernel+0xa9/0xf0
[ 6014.670482]  drm_ioctl+0x201/0x3a0
[ 6014.670483]  ? drm_mode_obj_find_prop_id+0x40/0x40
[ 6014.670485]  ? eventfd_read+0xc6/0x250
[ 6014.670507]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 6014.670509]  do_vfs_ioctl+0xa4/0x630
[ 6014.670510]  ksys_ioctl+0x60/0x90
[ 6014.670512]  ? ksys_read+0x9c/0xb0
[ 6014.670513]  __x64_sys_ioctl+0x16/0x20
[ 6014.670515]  do_syscall_64+0x55/0x170
[ 6014.670516]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6014.670517] RIP: 0033:0x7f786899a747
[ 6014.670518] Code: 00 00 90 48 8b 05 49 a7 0c 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff 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 19 a7 0c 00 f7 d8 64 89 01 48
[ 6014.670519] RSP: 002b:00007ffeb4364898 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 6014.670520] RAX: ffffffffffffffda RBX: 000055660a6f4240 RCX:
00007f786899a747
[ 6014.670520] RDX: 00007ffeb43648d0 RSI: 00000000c01864ba RDI:
0000000000000009
[ 6014.670521] RBP: 00007ffeb43648d0 R08: 0000000000000000 R09:
000055660a6baf90
[ 6014.670521] R10: 000055660a6f0748 R11: 0000000000000246 R12:
00000000c01864ba
[ 6014.670522] R13: 0000000000000009 R14: 00007ffeb4364ad0 R15:
00007f786978da20
[ 6014.670523] ---[ end trace 8f89d4a6d6deffe1 ]---

Do the AMD developers have access to such devices to reproduce this? Is there a
QA process?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 13809 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2019-01-19 10:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 11:30 [Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628 bugzilla-daemon
2018-07-18 15:51 ` bugzilla-daemon
2018-08-19 20:35 ` bugzilla-daemon
2018-08-21  2:12 ` bugzilla-daemon
2018-09-03 17:58 ` bugzilla-daemon
2018-09-16  5:41 ` bugzilla-daemon
2018-09-16 20:20 ` bugzilla-daemon
2018-09-29 21:02 ` bugzilla-daemon
2018-10-15 17:21 ` bugzilla-daemon
2018-10-28 20:21 ` bugzilla-daemon
2018-11-08  4:10 ` bugzilla-daemon
2018-11-08  4:13 ` bugzilla-daemon
2019-01-01 19:43 ` bugzilla-daemon
2019-01-19 10:40 ` bugzilla-daemon [this message]
2019-02-04  5:15 ` bugzilla-daemon
2019-02-04  5:15 ` bugzilla-daemon
2019-02-08  3:40 ` bugzilla-daemon
2019-11-19  8:43 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107261-502-SDobadIA0V@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).