From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT
timeout 1us * 10 tries - optc1_lock line:628
Date: Tue, 17 Jul 2018 11:30:17 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0012451708=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 2DB6A6E687
for ; Tue, 17 Jul 2018 11:30:17 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0012451708==
Content-Type: multipart/alternative; boundary="15318270171.3E6a95.11151"
Content-Transfer-Encoding: 7bit
--15318270171.3E6a95.11151
Date: Tue, 17 Jul 2018 11:30:17 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D107261
Bug ID: 107261
Summary: [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT
timeout 1us * 10 tries - optc1_lock line:628
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: pmenzel+bugs.freedesktop@molgen.mpg.de
Created attachment 140664
--> https://bugs.freedesktop.org/attachment.cgi?id=3D140664&action=3Dedit
Linux 4.18-rc5+ messages
On a MSI B350M MORTAR with Linux 4.18-rc5+ and Debian Sid/unstable with GNO=
ME I
get the error below.
```
$ git log --oneline -1
30b06abfb92b (HEAD -> master, origin/master, origin/HEAD) Merge tag
'pinctrl-v4.18-3' of
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
$ git describe --dirty
v4.18-rc5-36-g30b06abfb92b
$ sudo dmesg
[=E2=80=A6]
[ 171.571430] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us=
*
10 tries - optc1_lock line:628
[ 171.571485] WARNING: CPU: 2 PID: 917 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[ 171.571486] Modules linked in: fuse nls_ascii amdkfd nls_cp437 vfat fat
wmi_bmof ppdev amdgpu edac_mce_amd ccp rng_core chash snd_hda_codec_realtek
efi_pstore gpu_sched kvm ttm irqbypass snd_hda_codec_generic snd_hda_codec_=
hdmi
crct10dif_pclmul sp5100_tco crc32_pclmul pcspkr snd_hda_intel i2c_piix4
ghash_clmulni_intel drm_kms_helper snd_hda_codec snd_hda_core efivars sg
snd_hwdep k10temp r8169 snd_pcm drm mii snd_timer snd i2c_algo_bit soundcore
parport_pc wmi parport video button acpi_cpufreq efivarfs ip_tables x_tables
autofs4 ext4 crc16 mbcache jbd2 fscrypto dm_crypt dm_mod raid10 raid456
libcrc32c crc32c_generic async_raid6_recov async_memcpy async_pq async_xor =
xor
async_tx raid6_pq raid1 raid0 multipath linear md_mod sd_mod evdev hid_gene=
ric
usbhid hid crc32c_intel ahci libahci xhci_pci aesni_intel
[ 171.571521] aes_x86_64 xhci_hcd crypto_simd cryptd glue_helper libata
usbcore scsi_mod gpio_amdpt gpio_generic
[ 171.571527] CPU: 2 PID: 917 Comm: gnome-shell Not tainted 4.18.0-rc5+ #1
[ 171.571528] Hardware name: MSI MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.F0
04/27/2018
[ 171.571569] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 171.571569] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 =
50
48 c7 c7 10 2e b5 c0 e8 f4 e1 ac ff 83 7d 20 01 44 8b 4c 24 08 74 02 <0f> 0=
b 48
83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 0f=20
[ 171.571585] RSP: 0018:ffffb2f003d1f920 EFLAGS: 00010297
[ 171.571587] RAX: 0000000000000000 RBX: 0000000000000001 RCX:
0000000000000000
[ 171.571587] RDX: 0000000000000000 RSI: ffff9d185ec96738 RDI:
ffff9d185ec96738
[ 171.571588] RBP: ffff9d1843a49800 R08: 0000000000000392 R09:
0000000000000001
[ 171.571588] R10: 0000000000000000 R11: ffffffffb4fcaf4d R12:
000000000000000b
[ 171.571589] R13: 000000000000504d R14: 0000000000000100 R15:
0000000000000001
[ 171.571590] FS: 00007f7488a34ac0(0000) GS:ffff9d185ec80000(0000)
knlGS:0000000000000000
[ 171.571591] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 171.571592] CR2: 000001b1baab4488 CR3: 00000003dc648000 CR4:
00000000003406e0
[ 171.571592] Call Trace:
[ 171.571640] optc1_lock+0xa0/0xb0 [amdgpu]
[ 171.571684] dcn10_pipe_control_lock.part.28+0x4a/0x70 [amdgpu]
[ 171.571728] dcn10_apply_ctx_for_surface+0xee/0x1210 [amdgpu]
[ 171.571731] ? _cond_resched+0x15/0x30
[ 171.571774] ? hubbub1_verify_allow_pstate_change_high+0xdd/0x180 [amdgp=
u]
[ 171.571817] ? dcn10_verify_allow_pstate_change_high+0x1d/0x240 [amdgpu]
[ 171.571859] ? dcn10_set_bandwidth+0x275/0x2d0 [amdgpu]
[ 171.571900] dc_commit_state+0x253/0x550 [amdgpu]
[ 171.571940] ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[ 171.571979] ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[ 171.572023] amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 171.572058] ? amdgpu_bo_pin_restricted+0xd6/0x300 [amdgpu]
[ 171.572060] ? _cond_resched+0x15/0x30
[ 171.572061] ? wait_for_completion_timeout+0x3b/0x1a0
[ 171.572063] ? refcount_inc+0x5/0x30
[ 171.572070] commit_tail+0x3d/0x70 [drm_kms_helper]
[ 171.572075] drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper]
[ 171.572087] drm_atomic_connector_commit_dpms+0xdb/0x100 [drm]
[ 171.572097] drm_mode_obj_set_property_ioctl+0x174/0x270 [drm]
[ 171.572107] ? drm_mode_obj_find_prop_id+0x40/0x40 [drm]
[ 171.572116] drm_ioctl_kernel+0xa1/0xf0 [drm]
[ 171.572126] drm_ioctl+0x1fc/0x390 [drm]
[ 171.572135] ? drm_mode_obj_find_prop_id+0x40/0x40 [drm]
[ 171.572138] ? eventfd_read+0xed/0x2a0
[ 171.572171] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 171.572174] do_vfs_ioctl+0xa4/0x620
[ 171.572176] ksys_ioctl+0x60/0x90
[ 171.572178] ? ksys_read+0x9c/0xb0
[ 171.572179] __x64_sys_ioctl+0x16/0x20
[ 171.572182] do_syscall_64+0x55/0xe0
[ 171.572184] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 171.572186] RIP: 0033:0x7f749a661067
[ 171.572186] Code: b3 66 90 48 8b 05 21 7e 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> 3=
d 01
f0 ff ff 73 01 c3 48 8b 0d f1 7d 0c 00 f7 d8 64 89 01 48=20
[ 171.572206] RSP: 002b:00007fff3a256808 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 171.572207] RAX: ffffffffffffffda RBX: 0000557309136180 RCX:
00007f749a661067
[ 171.572208] RDX: 00007fff3a256840 RSI: 00000000c01864ba RDI:
000000000000000b
[ 171.572209] RBP: 00007fff3a256840 R08: 0000000000000000 R09:
0000000000000002
[ 171.572209] R10: 0000557309132cd8 R11: 0000000000000246 R12:
00000000c01864ba
[ 171.572210] R13: 000000000000000b R14: 00007fff3a256a40 R15:
00007f749bfb6bb0
[ 171.572212] ---[ end trace db9d21cbef0f5346 ]---
```
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15318270171.3E6a95.11151
Date: Tue, 17 Jul 2018 11:30:17 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
107261
|
| Summary |
[drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us =
* 10 tries - optc1_lock line:628
|
| Product |
DRI
|
| Version |
DRI git
|
| Hardware |
Other
|
| OS |
All
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
pmenzel+bugs.freedesktop@molgen.mpg.de
|
Created attachment 1406=
64 [details]
Linux 4.18-rc5+ messages
On a MSI B350M MORTAR with Linux 4.18-rc5+ and Debian Sid/unstable with GNO=
ME I
get the error below.
```
$ git log --oneline -1
30b06abfb92b (HEAD -> master, origin/master, origin/HEAD) Merge tag
'pinctrl-v4.18-3' of
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
$ git describe --dirty
v4.18-rc5-36-g30b06abfb92b
$ sudo dmesg
[=E2=80=A6]
[ 171.571430] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us=
*
10 tries - optc1_lock line:628
[ 171.571485] WARNING: CPU: 2 PID: 917 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:254
generic_reg_wait+0xe7/0x160 [amdgpu]
[ 171.571486] Modules linked in: fuse nls_ascii amdkfd nls_cp437 vfat fat
wmi_bmof ppdev amdgpu edac_mce_amd ccp rng_core chash snd_hda_codec_realtek
efi_pstore gpu_sched kvm ttm irqbypass snd_hda_codec_generic snd_hda_codec_=
hdmi
crct10dif_pclmul sp5100_tco crc32_pclmul pcspkr snd_hda_intel i2c_piix4
ghash_clmulni_intel drm_kms_helper snd_hda_codec snd_hda_core efivars sg
snd_hwdep k10temp r8169 snd_pcm drm mii snd_timer snd i2c_algo_bit soundcore
parport_pc wmi parport video button acpi_cpufreq efivarfs ip_tables x_tables
autofs4 ext4 crc16 mbcache jbd2 fscrypto dm_crypt dm_mod raid10 raid456
libcrc32c crc32c_generic async_raid6_recov async_memcpy async_pq async_xor =
xor
async_tx raid6_pq raid1 raid0 multipath linear md_mod sd_mod evdev hid_gene=
ric
usbhid hid crc32c_intel ahci libahci xhci_pci aesni_intel
[ 171.571521] aes_x86_64 xhci_hcd crypto_simd cryptd glue_helper libata
usbcore scsi_mod gpio_amdpt gpio_generic
[ 171.571527] CPU: 2 PID: 917 Comm: gnome-shell Not tainted 4.18.0-rc5+ #1
[ 171.571528] Hardware name: MSI MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.F0
04/27/2018
[ 171.571569] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[ 171.571569] Code: 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c 24 =
50
48 c7 c7 10 2e b5 c0 e8 f4 e1 ac 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=20
[ 171.571585] RSP: 0018:ffffb2f003d1f920 EFLAGS: 00010297
[ 171.571587] RAX: 0000000000000000 RBX: 0000000000000001 RCX:
0000000000000000
[ 171.571587] RDX: 0000000000000000 RSI: ffff9d185ec96738 RDI:
ffff9d185ec96738
[ 171.571588] RBP: ffff9d1843a49800 R08: 0000000000000392 R09:
0000000000000001
[ 171.571588] R10: 0000000000000000 R11: ffffffffb4fcaf4d R12:
000000000000000b
[ 171.571589] R13: 000000000000504d R14: 0000000000000100 R15:
0000000000000001
[ 171.571590] FS: 00007f7488a34ac0(0000) GS:ffff9d185ec80000(0000)
knlGS:0000000000000000
[ 171.571591] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 171.571592] CR2: 000001b1baab4488 CR3: 00000003dc648000 CR4:
00000000003406e0
[ 171.571592] Call Trace:
[ 171.571640] optc1_lock+0xa0/0xb0 [amdgpu]
[ 171.571684] dcn10_pipe_control_lock.part.28+0x4a/0x70 [amdgpu]
[ 171.571728] dcn10_apply_ctx_for_surface+0xee/0x1210 [amdgpu]
[ 171.571731] ? _cond_resched+0x15/0x30
[ 171.571774] ? hubbub1_verify_allow_pstate_change_high+0xdd/0x180 [amdgp=
u]
[ 171.571817] ? dcn10_verify_allow_pstate_change_high+0x1d/0x240 [amdgpu]
[ 171.571859] ? dcn10_set_bandwidth+0x275/0x2d0 [amdgpu]
[ 171.571900] dc_commit_state+0x253/0x550 [amdgpu]
[ 171.571940] ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[ 171.571979] ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[ 171.572023] amdgpu_dm_atomic_commit_tail+0x37c/0xd70 [amdgpu]
[ 171.572058] ? amdgpu_bo_pin_restricted+0xd6/0x300 [amdgpu]
[ 171.572060] ? _cond_resched+0x15/0x30
[ 171.572061] ? wait_for_completion_timeout+0x3b/0x1a0
[ 171.572063] ? refcount_inc+0x5/0x30
[ 171.572070] commit_tail+0x3d/0x70 [drm_kms_helper]
[ 171.572075] drm_atomic_helper_commit+0xb4/0x120 [drm_kms_helper]
[ 171.572087] drm_atomic_connector_commit_dpms+0xdb/0x100 [drm]
[ 171.572097] drm_mode_obj_set_property_ioctl+0x174/0x270 [drm]
[ 171.572107] ? drm_mode_obj_find_prop_id+0x40/0x40 [drm]
[ 171.572116] drm_ioctl_kernel+0xa1/0xf0 [drm]
[ 171.572126] drm_ioctl+0x1fc/0x390 [drm]
[ 171.572135] ? drm_mode_obj_find_prop_id+0x40/0x40 [drm]
[ 171.572138] ? eventfd_read+0xed/0x2a0
[ 171.572171] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 171.572174] do_vfs_ioctl+0xa4/0x620
[ 171.572176] ksys_ioctl+0x60/0x90
[ 171.572178] ? ksys_read+0x9c/0xb0
[ 171.572179] __x64_sys_ioctl+0x16/0x20
[ 171.572182] do_syscall_64+0x55/0xe0
[ 171.572184] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 171.572186] RIP: 0033:0x7f749a661067
[ 171.572186] Code: b3 66 90 48 8b 05 21 7e 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 f1 7d 0c 00 f7 d8 64 89 01 48=20
[ 171.572206] RSP: 002b:00007fff3a256808 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 171.572207] RAX: ffffffffffffffda RBX: 0000557309136180 RCX:
00007f749a661067
[ 171.572208] RDX: 00007fff3a256840 RSI: 00000000c01864ba RDI:
000000000000000b
[ 171.572209] RBP: 00007fff3a256840 R08: 0000000000000000 R09:
0000000000000002
[ 171.572209] R10: 0000557309132cd8 R11: 0000000000000246 R12:
00000000c01864ba
[ 171.572210] R13: 000000000000000b R14: 00007fff3a256a40 R15:
00007f749bfb6bb0
[ 171.572212] ---[ end trace db9d21cbef0f5346 ]---
```
You are receiving this mail because:
- You are the assignee for the bug.
=
--15318270171.3E6a95.11151--
--===============0012451708==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0012451708==--