[Bug 217099] New: amdgpu driver errors after disconnecting a Lenovo T14 (Gen1 AMD) from dock when the laptop is sleeping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

            Bug ID: 217099
           Summary: amdgpu driver errors after disconnecting a Lenovo T14
                    (Gen1 AMD) from dock when the laptop is sleeping
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.2.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@xxxxxxxxxxxxxxxxxxxx
          Reporter: madcatx@xxxxxxxx
        Regression: No

Hi all,

I have started to notice this since kernel 6.1. When I connect my Lenovo T14
Gen1 laptop to a docking station, put it to sleep, disconnect it from the dock
and then wake it up, it causes issues in the amdgpu driver and a reboot is
required. The dock has an external display connected via DisplayPort and both
the external and built-in screen are in use when this happens. When I
disconnect the dock with the laptop powered up there are no issues.

Now on kernel 6.2.1 I see a series of errors like this in dmesg:

úno 28 08:18:41 Sad-Silke kernel:  </TASK>
úno 28 08:18:41 Sad-Silke kernel: R13: 0000000000000018 R14: 0000562b9a6ed4a0
R15: 0000562b9a66a530
úno 28 08:18:41 Sad-Silke kernel: R10: 0000562b9a37b010 R11: 0000000000000246
R12: 00000000c03864bc
úno 28 08:18:41 Sad-Silke kernel: RBP: 00007ffd88b8f870 R08: 0000000000000007
R09: 0000000000000007
úno 28 08:18:41 Sad-Silke kernel: RDX: 00007ffd88b8f870 RSI: 00000000c03864bc
RDI: 0000000000000018
úno 28 08:18:41 Sad-Silke kernel: RAX: ffffffffffffffda RBX: 0000562b9bb1e3f0
RCX: 00007f5326d1553f
úno 28 08:18:41 Sad-Silke kernel: RSP: 002b:00007ffd88b8f7d0 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
úno 28 08:18:41 Sad-Silke kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60
c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00
00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
úno 28 08:18:41 Sad-Silke kernel: RIP: 0033:0x7f5326d1553f
úno 28 08:18:41 Sad-Silke kernel:  entry_SYSCALL_64_after_hwframe+0x72/0xdc
úno 28 08:18:41 Sad-Silke kernel:  ? do_syscall_64+0x6b/0x90
úno 28 08:18:41 Sad-Silke kernel:  ? do_syscall_64+0x6b/0x90
úno 28 08:18:41 Sad-Silke kernel:  do_syscall_64+0x5f/0x90
úno 28 08:18:41 Sad-Silke kernel:  __x64_sys_ioctl+0x94/0xd0
úno 28 08:18:41 Sad-Silke kernel:  amdgpu_drm_ioctl+0x4e/0x90 [amdgpu
0a2f4b6a08ebc5361cd3869444020e18bc7c4042]
úno 28 08:18:41 Sad-Silke kernel:  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
úno 28 08:18:41 Sad-Silke kernel:  drm_ioctl+0x233/0x410
úno 28 08:18:41 Sad-Silke kernel:  drm_ioctl_kernel+0xcd/0x170
úno 28 08:18:41 Sad-Silke kernel:  ? __pfx_drm_mode_atomic_ioctl+0x10/0x10
úno 28 08:18:41 Sad-Silke kernel:  drm_mode_atomic_ioctl+0x744/0xb70
úno 28 08:18:41 Sad-Silke kernel:  drm_atomic_check_only+0x5c0/0xa30
úno 28 08:18:41 Sad-Silke kernel:  ?
amdgpu_dm_connector_atomic_duplicate_state+0x29/0xb0 [amdgpu
0a2f4b6a08ebc5361cd3869444020e18bc7c4042]
úno 28 08:18:41 Sad-Silke kernel:  amdgpu_dm_atomic_check+0x65/0x11b0 [amdgpu
0a2f4b6a08ebc5361cd3869444020e18bc7c4042]
úno 28 08:18:41 Sad-Silke kernel:  drm_atomic_helper_check_modeset+0x403/0xc80
úno 28 08:18:41 Sad-Silke kernel:  <TASK>
úno 28 08:18:41 Sad-Silke kernel: Call Trace:
úno 28 08:18:41 Sad-Silke kernel: CR2: 00007f1a4419e000 CR3: 000000011abda000
CR4: 0000000000350ee0
úno 28 08:18:41 Sad-Silke kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
úno 28 08:18:41 Sad-Silke kernel: FS:  00007f53229948c0(0000)
GS:ffff896f2fa80000(0000) knlGS:0000000000000000
úno 28 08:18:41 Sad-Silke kernel: R13: ffff896843d45900 R14: ffff896844d63c80
R15: ffff896846aa1000
úno 28 08:18:41 Sad-Silke kernel: R10: ffff896844d63c80 R11: 0000000000000438
R12: ffff89684a41e568
úno 28 08:18:41 Sad-Silke kernel: RBP: ffff896869b52000 R08: ffff89684a41e568
R09: ffff896843d45900
úno 28 08:18:41 Sad-Silke kernel: RDX: ffff896843d45938 RSI: ffff896841c9a0d0
RDI: 0000000000000000
úno 28 08:18:41 Sad-Silke kernel: RAX: ffff896843d45938 RBX: ffff896843d45920
RCX: 0000000000000001
úno 28 08:18:41 Sad-Silke kernel: RSP: 0018:ffffb78d833aba78 EFLAGS: 00010246
úno 28 08:18:41 Sad-Silke kernel: Code: 45 30 e9 54 ff ff ff 48 8b 04 25 08 00
00 00 45 31 f6 31 db 48 85 c0 0f 85 a8 fe ff ff e9 39 ff ff ff 44 89 e8 e9 33
ff ff ff <0f> 0b 49 8b 44 24 58 4c 89 e9 48 89 ea 48 c7 c6 80 a5 e2 c0 48 8b
úno 28 08:18:41 Sad-Silke kernel: RIP:
0010:drm_dp_atomic_release_time_slots+0x1bd/0x1f0 [drm_display_helper]
úno 28 08:18:41 Sad-Silke kernel: Hardware name: LENOVO 20UDS02D00/20UDS02D00,
BIOS R1BET73W(1.42 ) 12/09/2022
úno 28 08:18:41 Sad-Silke kernel: CPU: 10 PID: 1000 Comm: kwin_wayland Tainted:
G        W          6.2.1-arch1-1 #1 826b345887e8fd845ab37a52cb3a6655383f6b60
úno 28 08:18:41 Sad-Silke kernel:  snd_seq_device platform_profile ttm
snd_hwdep r8169 bluetooth snd_acp_config ucsi_acpi cfg80211 sp5100_tco
videobuf2_common snd_soc_acpi drm_display_helper snd_pcm typec_ucsi
ecdh_generic video psmouse rapl mc k10temp i2c_piix4 crc16 snd_pci_acp3x
realtek cec snd_timer typec ipmi_devintf rfkill mdio_devres roles libphy
ipmi_msghandler snd so>
úno 28 08:18:41 Sad-Silke kernel: Modules linked in: rfcomm snd_seq_dummy
snd_hrtimer snd_seq ccm algif_aead des_generic libdes ecb md4 cmac algif_hash
algif_skcipher af_alg bnep iwlmvm snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn
snd_sof_amd_rembrandt snd_sof_amd_renoir mac80211 snd_sof_amd_acp snd_sof_pci
snd_sof_xtensa_dsp libarc4 snd_sof amdgpu snd_sof_utils snd_soc_core s>
úno 28 08:18:41 Sad-Silke kernel: WARNING: CPU: 10 PID: 1000 at
drivers/gpu/drm/display/drm_dp_mst_topology.c:4322
drm_dp_atomic_release_time_slots+0x1bd/0x1f0 [drm_display_helper]
úno 28 08:18:41 Sad-Silke kernel: ------------[ cut here ]------------
úno 28 08:18:41 Sad-Silke kernel: amdgpu 0000:07:00.0: [drm] *ERROR* No payload
for [MST PORT:00000000e956532c] found in mst state 00000000dcd511ab
úno 28 08:18:41 Sad-Silke kernel: ---[ end trace 0000000000000000 ]---

HW:
Lenovo T14 Gen1 AMD, FW. 1.42
Lenovo TP Dock type AH40

Anything I can do to help troubleshoot this?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux