Skip to content

Instantly share code, notes, and snippets.

@anddam
Last active June 25, 2020 14:01
Show Gist options
  • Select an option

  • Save anddam/31b08bfa81a754c66b7afb2868648036 to your computer and use it in GitHub Desktop.

Select an option

Save anddam/31b08bfa81a754c66b7afb2868648036 to your computer and use it in GitHub Desktop.
Traceback in dmesg on A300M-STX board
[ 22.020250] ------------[ cut here ]------------
[ 22.020285] WARNING: CPU: 0 PID: 904 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1738 write_i2c_retimer_setting+0xc5/0x3e0 [amdgpu]
[ 22.020285] Modules linked in: 8021q garp mrp stp llc nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_realtek edac_mce_amd snd_hda_codec_generic kvm_amd ledtrig_audio ccp iwlmvm rng_core snd_hda_codec_hdmi kvm snd_hda_intel mac80211 irqbypass wmi_bmof snd_intel_nhlt pcspkr sp5100_tco libarc4 k10temp snd_hda_codec i2c_piix4 iwlwifi joydev btusb snd_hda_core r8169 snd_hwdep btbcm input_leds btrtl btintel snd_pcm realtek cfg80211 evdev mac_hid acpi_cpufreq snd_seq snd_seq_device snd_timer snd soundcore vhost_vsock vmw_vsock_virtio_transport_common vsock vhost_net vhost tap uhid hci_vhci bluetooth ecdh_generic rfkill ecc crc16 vfio_iommu_type1 vfio uinput userio ppp_generic slhc tun loop nvram cuse fuse hid_generic usbkbd usbmouse usbhid hid btrfs xor crct10dif_pclmul crc32_pclmul ghash_clmulni_intel amdgpu ahci raid6_pq libahci libcrc32c aesni_intel crc32c_generic crypto_simd libata crc32c_intel cryptd glue_helper amd_iommu_v2 scsi_mod gpu_sched hwmon i2c_algo_bit drm_kms_helper syscopyarea
[ 22.020309] sysfillrect xhci_pci sysimgblt fb_sys_fops video xhci_hcd ttm usbcore drm agpgart wmi button dm_mirror dm_region_hash dm_log dm_mod
[ 22.020314] CPU: 0 PID: 904 Comm: Xorg Tainted: G W 5.4.15_1 #1
[ 22.020315] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./A300M-STX, BIOS P3.50 05/15/2019
[ 22.020340] RIP: 0010:write_i2c_retimer_setting+0xc5/0x3e0 [amdgpu]
[ 22.020341] Code: b6 4c 24 16 44 89 e2 44 0f b6 44 24 17 44 0f b6 c8 48 c7 c6 38 8f a4 c0 bf 04 00 00 00 45 89 cd e8 80 6a 99 ff 45 84 ed 75 02 <0f> 0b 0f b6 44 5d 02 8d 50 f6 80 fa 02 77 88 3c 0a 0f 85 c5 00 00
[ 22.020342] RSP: 0018:ffffc055010f3688 EFLAGS: 00010246
[ 22.020343] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000a
[ 22.020343] RDX: 000000000000005d RSI: ffffffffc0a48f38 RDI: 0000000000000004
[ 22.020343] RBP: ffffc055010f36fc R08: 0000000000000013 R09: 0000000000000000
[ 22.020344] R10: ffff9fa2878d30a0 R11: 0000000000000001 R12: 000000000000005d
[ 22.020344] R13: 0000000000000000 R14: ffff9fa28b7201b8 R15: ffffc055010f369e
[ 22.020345] FS: 00007f0d073a48c0(0000) GS:ffff9fa290400000(0000) knlGS:0000000000000000
[ 22.020346] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 22.020346] CR2: 000055c935efdc40 CR3: 000000038bf9c000 CR4: 00000000003406f0
[ 22.020346] Call Trace:
[ 22.020374] core_link_disable_stream+0x2f1/0x370 [amdgpu]
[ 22.020402] dcn10_reset_hw_ctx_wrap+0x2dc/0x320 [amdgpu]
[ 22.020428] dce110_apply_ctx_to_hw+0x51/0x5a0 [amdgpu]
[ 22.020452] ? dm_read_reg_func+0x1f/0xa0 [amdgpu]
[ 22.020478] ? hubbub1_verify_allow_pstate_change_high+0x93/0x1d0 [amdgpu]
[ 22.020505] ? dcn10_verify_allow_pstate_change_high+0x1d/0x270 [amdgpu]
[ 22.020529] dc_commit_state+0x26b/0x5a0 [amdgpu]
[ 22.020559] amdgpu_dm_atomic_commit_tail+0xcf7/0x1d70 [amdgpu]
[ 22.020583] ? dm_read_reg_func+0x1f/0xa0 [amdgpu]
[ 22.020607] ? dm_read_reg_func+0x1f/0xa0 [amdgpu]
[ 22.020609] ? deactivate_slab.isra.0+0x5a9/0x640
[ 22.020633] ? dc_stream_get_scanoutpos+0x58/0x60 [amdgpu]
[ 22.020661] ? dm_crtc_get_scanoutpos+0x66/0xc0 [amdgpu]
[ 22.020680] ? amdgpu_bo_pin_restricted+0x65/0x280 [amdgpu]
[ 22.020683] ? ttm_eu_backoff_reservation+0x4b/0x90 [ttm]
[ 22.020685] ? refcount_inc_checked+0x5/0x30
[ 22.020703] ? amdgpu_bo_ref+0x1b/0x30 [amdgpu]
[ 22.020732] ? dm_plane_helper_prepare_fb+0x162/0x2a0 [amdgpu]
[ 22.020735] ? wait_for_completion_timeout+0x5c/0x160
[ 22.020736] ? wait_for_completion_interruptible+0x46/0x190
[ 22.020739] ? commit_tail+0x94/0x110 [drm_kms_helper]
[ 22.020741] commit_tail+0x94/0x110 [drm_kms_helper]
[ 22.020745] drm_atomic_helper_commit+0xb8/0x130 [drm_kms_helper]
[ 22.020750] drm_atomic_connector_commit_dpms+0xd7/0x100 [drm]
[ 22.020756] drm_mode_obj_set_property_ioctl+0x159/0x2b0 [drm]
[ 22.020762] ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[ 22.020767] drm_connector_property_set_ioctl+0x39/0x60 [drm]
[ 22.020771] drm_ioctl_kernel+0xaa/0xf0 [drm]
[ 22.020775] drm_ioctl+0x208/0x390 [drm]
[ 22.020780] ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[ 22.020782] ? ptep_set_access_flags+0x29/0x40
[ 22.020784] ? do_wp_page+0x187/0x630
[ 22.020802] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 22.020804] do_vfs_ioctl+0x40c/0x670
[ 22.020806] ksys_ioctl+0x5e/0x90
[ 22.020807] __x64_sys_ioctl+0x16/0x20
[ 22.020808] do_syscall_64+0x4e/0x110
[ 22.020811] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 22.020812] RIP: 0033:0x7f0d07c97f47
[ 22.020813] Code: 00 00 90 48 8b 05 39 7f 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 09 7f 0c 00 f7 d8 64 89 01 48
[ 22.020814] RSP: 002b:00007fff4ecfaac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 22.020814] RAX: ffffffffffffffda RBX: 00007fff4ecfab00 RCX: 00007f0d07c97f47
[ 22.020815] RDX: 00007fff4ecfab00 RSI: 00000000c01064ab RDI: 000000000000000d
[ 22.020815] RBP: 00000000c01064ab R08: 0000000000000000 R09: 000055c935efd770
[ 22.020815] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c935c3f0a0
[ 22.020816] R13: 000000000000000d R14: 000055c935efb2f0 R15: 0000000000000000
[ 22.020817] ---[ end trace 855e6de00809dd55 ]---
@Legogris
Copy link

@anddam Did you ever resolve this?

@anddam
Copy link
Author

anddam commented Jun 25, 2020

@anddam Did you ever resolve this?

No, actually I had just forgot about that.

Let's report this upstream.

edit: issue was moved to from xorg/driver/xf86-video-amdgpu to drm/amd project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment