FS#75328 - [linux] After kernel upgrade 5.18.10-arch1-1 : dce110_fill_display_configs crash

Attached to Project: Arch Linux
Opened by Paulo Matos (pmatos) - Friday, 15 July 2022, 06:42 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 14 September 2023, 17:50 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
David Runge (dvzrv)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After leaving my PC alone for a bit I have been returning to a dual head setup where only one head is working. The other is gone. I see this in the logs every single time:

```
Jul 15 07:34:37 andromeda kernel: ------------[ cut here ]------------
Jul 15 07:34:37 andromeda kernel: WARNING: CPU: 9 PID: 369223 at drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce110/dce110_clk_mgr.c:140 dce11>
Jul 15 07:34:37 andromeda kernel: Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ip>
Jul 15 07:34:37 andromeda kernel: libarc4 drm_dp_helper pktcdvd rng_core snd_timer crypto_simd snd cryptd rapl cfg80211 e1000e intel_cstate soundc>
Jul 15 07:34:37 andromeda kernel: CPU: 9 PID: 369223 Comm: kworker/9:1H Tainted: G OE 5.18.10-arch1-1 #1 8c6fe491a259a093918bb378266a>
Jul 15 07:34:37 andromeda kernel: Hardware name: MSI MS-7885/X99A SLI PLUS(MS-7885), BIOS 1.D0 07/15/2016
Jul 15 07:34:37 andromeda kernel: Workqueue: events_highpri dm_irq_work_func [amdgpu]
Jul 15 07:34:37 andromeda kernel: RIP: 0010:dce110_fill_display_configs+0x4e/0x150 [amdgpu]
Jul 15 07:34:37 andromeda kernel: Code: 31 ff 4d 8d 98 f0 01 00 00 49 8b 0c f8 4c 89 da 31 c0 48 39 0a 0f 84 e4 00 00 00 83 c0 01 48 81 c2 10 08 00>
Jul 15 07:34:37 andromeda kernel: RSP: 0018:ffffbe3e479d3be8 EFLAGS: 00010246
Jul 15 07:34:37 andromeda kernel: RAX: 0000000000000006 RBX: ffff9ee75f820000 RCX: ffff9ee0d6772800
Jul 15 07:34:37 andromeda kernel: RDX: ffff9ee75f823250 RSI: ffff9ee75f832980 RDI: 0000000000000000
Jul 15 07:34:37 andromeda kernel: RBP: ffff9ee0d6ca0000 R08: ffff9ee75f820000 R09: 0000000000000000
Jul 15 07:34:37 andromeda kernel: R10: ffff9ee75f832980 R11: ffff9ee75f8201f0 R12: ffff9ee75f832980
Jul 15 07:34:37 andromeda kernel: R13: 0000000000000000 R14: 0000000000000006 R15: 0000000000003258
Jul 15 07:34:37 andromeda kernel: FS: 0000000000000000(0000) GS:ffff9ef03fc40000(0000) knlGS:0000000000000000
Jul 15 07:34:37 andromeda kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 15 07:34:37 andromeda kernel: CR2: 00007fc3e9353000 CR3: 0000000461744001 CR4: 00000000001706e0
Jul 15 07:34:37 andromeda kernel: Call Trace:
Jul 15 07:34:37 andromeda kernel: <TASK>
Jul 15 07:34:37 andromeda kernel: dce11_pplib_apply_display_requirements+0x12b/0x200 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: dce112_update_clocks+0xa3/0xf0 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: dc_commit_updates_for_stream+0x1b6a/0x1f90 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: ? detect_link_and_local_sink+0x4fe/0xaa0 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: set_all_streams_dpms_off_for_link+0x10e/0x120 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: dc_link_detect+0x379/0x460 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: handle_hpd_irq_helper+0xe7/0x190 [amdgpu 946961264f17cee6332134ebd5af1c605f89a7ee]
Jul 15 07:34:37 andromeda kernel: process_one_work+0x1c4/0x380
Jul 15 07:34:37 andromeda kernel: worker_thread+0x51/0x380
Jul 15 07:34:37 andromeda kernel: ? rescuer_thread+0x3a0/0x3a0
Jul 15 07:34:37 andromeda kernel: kthread+0xdb/0x110
Jul 15 07:34:37 andromeda kernel: ? kthread_complete_and_exit+0x20/0x20
Jul 15 07:34:37 andromeda kernel: ret_from_fork+0x1f/0x30
Jul 15 07:34:37 andromeda kernel: </TASK>
Jul 15 07:34:37 andromeda kernel: ---[ end trace 0000000000000000 ]---
```


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

```
$ uname -a
Linux andromeda 5.18.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 07 Jul 2022 17:18:13 +0000 x86_64 GNU/Linux
```

Also reported here:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/53
This task depends upon

Closed by  Jelle van der Waa (jelly)
Thursday, 14 September 2023, 17:50 GMT
Reason for closing:  Deferred
Additional comments about closing:  Old kernel, please retry with the latest
Comment by Paulo Matos (pmatos) - Saturday, 30 July 2022, 12:37 GMT
Updating the kernel, keeps causing the issues but a different backtrace. See https://gitlab.freedesktop.org/drm/amd/-/issues/2109
Comment by Toolybird (Toolybird) - Monday, 08 August 2022, 05:34 GMT
If it was working beforehand then bisection is an option (albeit possibly painful). You could also try latest cutting edge -rc kernels to see if it's fixed. Otherwise best to keep liaising with upstream to try and resolve.
Comment by Paulo Matos (pmatos) - Wednesday, 10 August 2022, 09:16 GMT
Thanks Toolybird for the comment I keep updating upstream to see if I have any updates but no such luck. Things keep crashing in latest 5.18.16.

Loading...