From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107947] REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot Date: Sun, 16 Sep 2018 06:34:40 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0678975340==" 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 B2A5F6E007 for ; Sun, 16 Sep 2018 06:34:40 +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 --===============0678975340== Content-Type: multipart/alternative; boundary="15370796800.c60B0.26745" Content-Transfer-Encoding: 7bit --15370796800.c60B0.26745 Date: Sun, 16 Sep 2018 06:34:40 +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=3D107947 Bug ID: 107947 Summary: REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: mail@zathras.info During boot of the system, the following stacktrace appears (on kernel 4.17= .19 and 4.18.7), my GPU is a Vega 64. System works otherwise. [ 9.354820] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10= us * 3500 tries - dce_mi_free_dmif line:563 [ 9.354887] WARNING: CPU: 13 PID: 192 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195 generic_reg_wait+0xe7/0x160 [amdgpu] [ 9.354888] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memo= ps videobuf2_v4l2 videobuf2_common snd_usb_audio videodev snd_usbmidi_lib media snd_rawmidi snd_seq_device squashfs nls_iso8859_1 nls_cp437 vfat fat loop b= trfs zstd_compress libcrc32c zstd_decompress xxhash xor amdkfd amd_iommu_v2 edac_mce_amd amdgpu kvm_amd snd_hda_codec_realtek chash snd_hda_codec_gener= ic kvm snd_hda_codec_ca0132 gpu_sched snd_hda_codec_hdmi ttm snd_hda_intel irqbypass drm_kms_helper snd_hda_codec crct10dif_pclmul crc32_pclmul eeepc_= wmi ghash_clmulni_intel asus_wmi sparse_keymap pcbc rfkill wmi_bmof mxm_wmi snd_hda_core drm ccp snd_hwdep igb snd_pcm snd_timer aesni_intel snd agpgart sp5100_tco aes_x86_64 syscopyarea crypto_simd sysfillrect i2c_algo_bit sysimgblt cryptd raid6_pq fb_sys_fops glue_helper pcspkr [ 9.354910] rng_core soundcore i2c_piix4 k10temp dca shpchp rtc_cmos pinctrl_amd gpio_amdpt evdev pcc_cpufreq wmi acpi_cpufreq mac_hid usbip_hos= t(+) usbip_core uinput sg crypto_user ip_tables x_tables ext4 crc32c_generic crc= 16 mbcache jbd2 fscrypto sr_mod cdrom sd_mod hid_corsair led_class hid_generic usbhid hid ahci libahci xhci_pci crc32c_intel xhci_hcd libata usbcore scsi_= mod usb_common [ 9.354926] CPU: 13 PID: 192 Comm: kworker/13:1 Not tainted 4.17.19-1-MANJARO #1 [ 9.354926] Hardware name: System manufacturer System Product Name/CROSS= HAIR VI HERO, BIOS 3008 11/29/2017 [ 9.354954] Workqueue: events dm_irq_work_func [amdgpu] [ 9.354979] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu] [ 9.354979] RSP: 0018:ffffa832c22a7a18 EFLAGS: 00010297 [ 9.354980] RAX: 0000000000000000 RBX: 000000000000000a RCX: 0000000000000001 [ 9.354981] RDX: 0000000000000000 RSI: ffffffff82e89d1e RDI: 00000000ffffffff [ 9.354981] RBP: ffff8856cbdee580 R08: 0000000000000000 R09: 0000000000000002 [ 9.354982] R10: ffffa832d102a220 R11: 0000000000000001 R12: 0000000000000dad [ 9.354982] R13: 00000000000035b0 R14: 0000000000000010 R15: 0000000000000001 [ 9.354983] FS: 0000000000000000(0000) GS:ffff8856ce940000(0000) knlGS:0000000000000000 [ 9.354984] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9.354984] CR2: 00007f33eed94e38 CR3: 000000037f00a000 CR4: 00000000003406e0 [ 9.354985] Call Trace: [ 9.355015] dce_mi_free_dmif+0xf8/0x180 [amdgpu] [ 9.355041] dce110_reset_hw_ctx_wrap+0x141/0x1b0 [amdgpu] [ 9.355067] dce110_apply_ctx_to_hw+0x52/0xa30 [amdgpu] [ 9.355092] ? hwmgr_handle_task+0x6b/0xc0 [amdgpu] [ 9.355117] ? pp_dpm_dispatch_tasks+0x5a/0x70 [amdgpu] [ 9.355133] ? amdgpu_pm_compute_clocks+0x98/0x4d0 [amdgpu] [ 9.355158] dc_commit_state+0x2df/0x560 [amdgpu] [ 9.355182] ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu] [ 9.355205] ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu] [ 9.355230] amdgpu_dm_atomic_commit_tail+0x36b/0xd80 [amdgpu] [ 9.355247] ? amdgpu_bo_pin_restricted+0x1da/0x2c0 [amdgpu] [ 9.355250] ? _raw_spin_lock_irq+0x1a/0x40 [ 9.355250] ? _raw_spin_unlock_irq+0x1d/0x30 [ 9.355252] ? wait_for_common+0x113/0x190 [ 9.355253] ? _raw_spin_unlock_irq+0x1d/0x30 [ 9.355254] ? wait_for_common+0x113/0x190 [ 9.355278] ? dm_plane_helper_cleanup_fb+0x120/0x120 [amdgpu] [ 9.355283] commit_tail+0x3d/0x70 [drm_kms_helper] [ 9.355287] drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper] [ 9.355291] restore_fbdev_mode_atomic+0x1a8/0x210 [drm_kms_helper] [ 9.355295] drm_fb_helper_restore_fbdev_mode_unlocked+0x45/0x90 [drm_kms_helper] [ 9.355299] drm_fb_helper_set_par+0x29/0x50 [drm_kms_helper] [ 9.355302] drm_fb_helper_hotplug_event.part.27+0x8d/0xb0 [drm_kms_help= er] [ 9.355326] handle_hpd_irq+0x84/0x90 [amdgpu] [ 9.355350] dm_irq_work_func+0x4e/0x60 [amdgpu] [ 9.355353] process_one_work+0x1d1/0x3b0 [ 9.355354] worker_thread+0x2b/0x3d0 [ 9.355355] ? process_one_work+0x3b0/0x3b0 [ 9.355356] kthread+0x112/0x130 [ 9.355357] ? kthread_flush_work_fn+0x10/0x10 [ 9.355359] ret_from_fork+0x22/0x40 [ 9.355360] Code: 8b 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c = 24 50 48 c7 c7 b0 5f 17 c1 e8 c4 38 b6 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=20 [ 9.355377] ---[ end trace 93f20a7f7b645de3 ]--- --=20 You are receiving this mail because: You are the assignee for the bug.= --15370796800.c60B0.26745 Date: Sun, 16 Sep 2018 06:34:40 +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 107947
Summary REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:56= 3 during boot
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity major
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter mail@zathras.info

During boot of the system, the following stacktrace appears (o=
n kernel 4.17.19
and 4.18.7), my GPU is a Vega 64. System works otherwise.

 [    9.354820] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10=
us *
3500 tries - dce_mi_free_dmif line:563
[    9.354887] WARNING: CPU: 13 PID: 192 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195
generic_reg_wait+0xe7/0x160 [amdgpu]
[    9.354888] Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memo=
ps
videobuf2_v4l2 videobuf2_common snd_usb_audio videodev snd_usbmidi_lib media
snd_rawmidi snd_seq_device squashfs nls_iso8859_1 nls_cp437 vfat fat loop b=
trfs
zstd_compress libcrc32c zstd_decompress xxhash xor amdkfd amd_iommu_v2
edac_mce_amd amdgpu kvm_amd snd_hda_codec_realtek chash snd_hda_codec_gener=
ic
kvm snd_hda_codec_ca0132 gpu_sched snd_hda_codec_hdmi ttm snd_hda_intel
irqbypass drm_kms_helper snd_hda_codec crct10dif_pclmul crc32_pclmul eeepc_=
wmi
ghash_clmulni_intel asus_wmi sparse_keymap pcbc rfkill wmi_bmof mxm_wmi
snd_hda_core drm ccp snd_hwdep igb snd_pcm snd_timer aesni_intel snd agpgart
sp5100_tco aes_x86_64 syscopyarea crypto_simd sysfillrect i2c_algo_bit
sysimgblt cryptd raid6_pq fb_sys_fops glue_helper pcspkr
[    9.354910]  rng_core soundcore i2c_piix4 k10temp dca shpchp rtc_cmos
pinctrl_amd gpio_amdpt evdev pcc_cpufreq wmi acpi_cpufreq mac_hid usbip_hos=
t(+)
usbip_core uinput sg crypto_user ip_tables x_tables ext4 crc32c_generic crc=
16
mbcache jbd2 fscrypto sr_mod cdrom sd_mod hid_corsair led_class hid_generic
usbhid hid ahci libahci xhci_pci crc32c_intel xhci_hcd libata usbcore scsi_=
mod
usb_common
[    9.354926] CPU: 13 PID: 192 Comm: kworker/13:1 Not tainted
4.17.19-1-MANJARO #1
[    9.354926] Hardware name: System manufacturer System Product Name/CROSS=
HAIR
VI HERO, BIOS 3008 11/29/2017
[    9.354954] Workqueue: events dm_irq_work_func [amdgpu]
[    9.354979] RIP: 0010:generic_reg_wait+0xe7/0x160 [amdgpu]
[    9.354979] RSP: 0018:ffffa832c22a7a18 EFLAGS: 00010297
[    9.354980] RAX: 0000000000000000 RBX: 000000000000000a RCX:
0000000000000001
[    9.354981] RDX: 0000000000000000 RSI: ffffffff82e89d1e RDI:
00000000ffffffff
[    9.354981] RBP: ffff8856cbdee580 R08: 0000000000000000 R09:
0000000000000002
[    9.354982] R10: ffffa832d102a220 R11: 0000000000000001 R12:
0000000000000dad
[    9.354982] R13: 00000000000035b0 R14: 0000000000000010 R15:
0000000000000001
[    9.354983] FS:  0000000000000000(0000) GS:ffff8856ce940000(0000)
knlGS:0000000000000000
[    9.354984] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    9.354984] CR2: 00007f33eed94e38 CR3: 000000037f00a000 CR4:
00000000003406e0
[    9.354985] Call Trace:
[    9.355015]  dce_mi_free_dmif+0xf8/0x180 [amdgpu]
[    9.355041]  dce110_reset_hw_ctx_wrap+0x141/0x1b0 [amdgpu]
[    9.355067]  dce110_apply_ctx_to_hw+0x52/0xa30 [amdgpu]
[    9.355092]  ? hwmgr_handle_task+0x6b/0xc0 [amdgpu]
[    9.355117]  ? pp_dpm_dispatch_tasks+0x5a/0x70 [amdgpu]
[    9.355133]  ? amdgpu_pm_compute_clocks+0x98/0x4d0 [amdgpu]
[    9.355158]  dc_commit_state+0x2df/0x560 [amdgpu]
[    9.355182]  ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[    9.355205]  ? mod_freesync_set_user_enable+0x11f/0x150 [amdgpu]
[    9.355230]  amdgpu_dm_atomic_commit_tail+0x36b/0xd80 [amdgpu]
[    9.355247]  ? amdgpu_bo_pin_restricted+0x1da/0x2c0 [amdgpu]
[    9.355250]  ? _raw_spin_lock_irq+0x1a/0x40
[    9.355250]  ? _raw_spin_unlock_irq+0x1d/0x30
[    9.355252]  ? wait_for_common+0x113/0x190
[    9.355253]  ? _raw_spin_unlock_irq+0x1d/0x30
[    9.355254]  ? wait_for_common+0x113/0x190
[    9.355278]  ? dm_plane_helper_cleanup_fb+0x120/0x120 [amdgpu]
[    9.355283]  commit_tail+0x3d/0x70 [drm_kms_helper]
[    9.355287]  drm_atomic_helper_commit+0x103/0x110 [drm_kms_helper]
[    9.355291]  restore_fbdev_mode_atomic+0x1a8/0x210 [drm_kms_helper]
[    9.355295]  drm_fb_helper_restore_fbdev_mode_unlocked+0x45/0x90
[drm_kms_helper]
[    9.355299]  drm_fb_helper_set_par+0x29/0x50 [drm_kms_helper]
[    9.355302]  drm_fb_helper_hotplug_event.part.27+0x8d/0xb0 [drm_kms_help=
er]
[    9.355326]  handle_hpd_irq+0x84/0x90 [amdgpu]
[    9.355350]  dm_irq_work_func+0x4e/0x60 [amdgpu]
[    9.355353]  process_one_work+0x1d1/0x3b0
[    9.355354]  worker_thread+0x2b/0x3d0
[    9.355355]  ? process_one_work+0x3b0/0x3b0
[    9.355356]  kthread+0x112/0x130
[    9.355357]  ? kthread_flush_work_fn+0x10/0x10
[    9.355359]  ret_from_fork+0x22/0x40
[    9.355360] Code: 8b 44 24 58 8b 54 24 48 89 de 44 89 4c 24 08 48 8b 4c =
24
50 48 c7 c7 b0 5f 17 c1 e8 c4 38 b6 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=20
[    9.355377] ---[ end trace 93f20a7f7b645de3 ]---


You are receiving this mail because:
  • You are the assignee for the bug.
= --15370796800.c60B0.26745-- --===============0678975340== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0678975340==--