All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 200531] amdgpu: *ERROR* REG_WAIT timeout when a display is put to sleep
Date: Tue, 11 Sep 2018 14:15:03 +0000	[thread overview]
Message-ID: <bug-200531-2300-HP5AYPPc5x@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-200531-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=200531

Benjamin Berg (benjamin@sipsolutions.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin@sipsolutions.net

--- Comment #10 from Benjamin Berg (benjamin@sipsolutions.net) ---
Created attachment 278451
  --> https://bugzilla.kernel.org/attachment.cgi?id=278451&action=edit
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
[...]

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

  parent reply	other threads:[~2018-09-11 14:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18  0:41 [Bug 200531] New: amdgpu: *ERROR* REG_WAIT timeout when a display is put to sleep bugzilla-daemon
2018-07-18  0:41 ` [Bug 200531] " bugzilla-daemon
2018-07-18  0:56 ` bugzilla-daemon
2018-07-18  0:58 ` bugzilla-daemon
2018-07-18  7:36 ` bugzilla-daemon
2018-07-18  7:36 ` bugzilla-daemon
2018-07-22 13:16 ` bugzilla-daemon
2018-07-22 16:24 ` bugzilla-daemon
2018-08-26  0:53 ` bugzilla-daemon
2018-09-03  5:20 ` bugzilla-daemon
2018-09-04 14:35 ` bugzilla-daemon
2018-09-05  9:14 ` bugzilla-daemon
2018-09-11 14:15 ` bugzilla-daemon [this message]
2018-12-10  2:44 ` bugzilla-daemon
2018-12-31 15:16 ` bugzilla-daemon
2025-02-05 11:09 ` bugzilla-daemon
2025-05-26 13:15 ` bugzilla-daemon
2025-05-27 21:39 ` 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-200531-2300-HP5AYPPc5x@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.