[Bug 105982] Plugging HDMI cable hits [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout

2018-11-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105982

jian-h...@endlessm.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #2 from jian-h...@endlessm.com ---
I am not sure.
But I have tried 4.18 kernel and cannot reproduce this issue again.
By the way, it is Xorg in use.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105982] Plugging HDMI cable hits [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout

2018-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105982

--- Comment #1 from Matthew Miller  ---
Is this the same as #107261?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105982] Plugging HDMI cable hits [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout

2018-04-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105982

Bug ID: 105982
   Summary: Plugging HDMI cable hits [drm:generic_reg_wait
[amdgpu]] *ERROR* REG_WAIT timeout
   Product: DRI
   Version: DRI git
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/AMDgpu
  Assignee: dri-devel@lists.freedesktop.org
  Reporter: jian-h...@endlessm.com

Created attachment 138748
  --> https://bugs.freedesktop.org/attachment.cgi?id=138748=edit
the dmesg

I have an AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx laptop.

After system is booted and plugged the HDMI cable, the laptop's display had
been blurred a while than came back again, and the extended display also
worked.
However, I can see the amdgpu module hits the error in dmesg:
"[drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries -
optc1_lock line:553" and the warning message.

[   70.28] amdgpu :03:00.0: ring 12(vcn_enc0) uses VM inv eng 6 on hub
1
[   70.64] amdgpu :03:00.0: ring 13(vcn_enc1) uses VM inv eng 7 on hub
1
[   71.005998] [drm] Initialized amdgpu 3.23.0 20150101 for :03:00.0 on
minor 0
[   88.313107] Bluetooth: RFCOMM TTY layer initialized
[   88.313115] Bluetooth: RFCOMM socket layer initialized
[   88.313120] Bluetooth: RFCOMM ver 1.11
[   99.918971] rfkill: input handler disabled
[  129.028256] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us *
10 tries - optc1_lock line:553
[  129.028302] WARNING: CPU: 0 PID: 943 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195
generic_reg_wait+0xeb/0x160 [amdgpu]
[  129.028303] Modules linked in: rfcomm amdkfd amd_iommu_v2 amdgpu chash
gpu_sched ttm drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea
sysfillrect sysimgblt ccm cmac bnep zram arc4 snd_hda_codec_generic
snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep iwlmvm
snd_pcm uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 edac_mce_amd
snd_timer mac80211 videobuf2_common videodev media asus_nb_wmi asus_wmi
wmi_bmof kvm_amd ccp kvm irqbypass crct10dif_pclmul crc32_pclmul
ghash_clmulni_intel snd btusb btrtl r8169 btbcm pcbc btintel mii aesni_intel
sparse_keymap soundcore iwlwifi bluetooth ecdh_generic cfg80211 joydev
input_leds shpchp aes_x86_64 crypto_simd glue_helper cryptd i2c_piix4 wmi
mac_hid tpm_crb asus_wireless ip_tables x_tables uas usb_storage hid_multitouch
hid_generic
[  129.028342]  serio_raw ahci libahci video i2c_hid hid
[  129.028348] CPU: 0 PID: 943 Comm: Xorg Not tainted 4.16.0 #9
[  129.028349] Hardware name: ASUSTeK COMPUTER INC. VivoBook 15 X505ZA/X505ZA,
BIOS X505ZA.200.T08 02/03/2018
[  129.028380] RIP: 0010:generic_reg_wait+0xeb/0x160 [amdgpu]
[  129.028382] RSP: 0018:afa98204b840 EFLAGS: 00010297
[  129.028383] RAX: 0229 RBX: 000b RCX:

[  129.028385] RDX:  RSI: 8b5e536164b8 RDI:
8b5e536164b8
[  129.028386] RBP: afa98204b880 R08: 6e60 R09:
03ad
[  129.028387] R10: 0001 R11: a43527ed R12:
0001
[  129.028388] R13: 8b5e50f1b880 R14: 0100 R15:
0001
[  129.028390] FS:  7ff314432a40() GS:8b5e5360()
knlGS:
[  129.028391] CS:  0010 DS:  ES:  CR0: 80050033
[  129.028392] CR2: 564dbd755970 CR3: 0002f45d8000 CR4:
003406f0
[  129.028393] Call Trace:
[  129.028429]  optc1_lock+0xa2/0xb0 [amdgpu]
[  129.028463]  dcn10_apply_ctx_for_surface+0xed/0x510 [amdgpu]
[  129.028494]  dc_commit_state+0x266/0x5d0 [amdgpu]
[  129.028523]  ? set_freesync_on_streams.part.5+0xa6/0x2a0 [amdgpu]
[  129.028552]  ? mod_freesync_set_user_enable+0x15f/0x1a0 [amdgpu]
[  129.028586]  amdgpu_dm_atomic_commit_tail+0x348/0xf80 [amdgpu]
[  129.028611]  ? amdgpu_bo_pin_restricted+0x1fe/0x2b0 [amdgpu]
[  129.028614]  ? _cond_resched+0x1a/0x50
[  129.028617]  ? wait_for_completion_timeout+0x3a/0x140
[  129.028619]  ? _cond_resched+0x1a/0x50
[  129.028621]  ? wait_for_completion_interruptible+0x37/0x180
[  129.028622]  ? ww_mutex_unlock+0x26/0x30
[  129.028630]  commit_tail+0x42/0x70 [drm_kms_helper]
[  129.028636]  drm_atomic_helper_commit+0x10c/0x120 [drm_kms_helper]
[  129.028669]  amdgpu_dm_atomic_commit+0x87/0xa0 [amdgpu]
[  129.028681]  drm_atomic_commit+0x51/0x60 [drm]
[  129.028686]  drm_atomic_helper_set_config+0x6e/0x90 [drm_kms_helper]
[  129.028695]  __drm_mode_set_config_internal+0x6b/0x120 [drm]
[  129.028704]  drm_mode_setcrtc+0x4f1/0x680 [drm]
[  129.028713]  ? drm_mode_getcrtc+0x190/0x190 [drm]
[  129.028721]  drm_ioctl_kernel+0x6b/0xb0 [drm]
[  129.028729]  drm_ioctl+0x33c/0x3f0 [drm]
[  129.028737]  ? drm_mode_getcrtc+0x190/0x190 [drm]
[  129.028760]  amdgpu_drm_ioctl+0x4f/0x90 [amdgpu]
[  129.028763]  do_vfs_ioctl+0xa6/0x610
[  129.028766]  ?