Skip to contentSkip to conversation

New: amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

Bug 209713 [email protected] 1 participant 20 messages Oct 16, 2020 – Mar 1, 2021

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 209713
           Summary: amdgpu
                    drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_l
                    ink_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0
                    [amdgpu] when resuming from S3 state
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.8.13-arch1-1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 293025
--> https://bugzilla.kernel.org/attachment.cgi?id=293025&action=edit
parts of dmesg where the call trace happens during the resume from S3 sleep state.

I'm thinking that this bug is a regression since I haven't seen this call trace before on kernel older than 5.8.12-arch1-1 but I have yet to confirm this.

The call trace may also happen only in a very specific way, my current computer has a USB-C Dock that is plugged in and the call trace happened when the USB-C was plugged in and the computer was suspended, then resumed.

It is a Lenovo Thinkpad T495 model 20NKS28F00 with an AMD Ryzen 7 3700U and a Vega Radeon RX 10.

Further comments will confirm if the call trace happens only when the USB-C Dock is plugged.

As well as if this call trace happens on kernels older than 5.8.12-arch1-1.

The computer does resume successfully and there is a like a minor screen glitch for a millisecond so it's not a very severe bug.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

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

Lahfa Samy ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |UNREPRODUCIBLE

--- Comment #1 from Lahfa Samy ([email protected]) ---
I cannot reproduce this call trace on the new kernel 5.9.1, so I could take that this issue was silently fixed ?
I'll open the issue again if I see that the call trace shows up again someday.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #2 from Michel Dänzer ([email protected]) ---
I'm still hitting this (when fbcon is initialized) with the DRM code queued for 5.10.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

Lahfa Samy ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|UNREPRODUCIBLE              |---
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

Klaus Mueller ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Klaus Mueller ([email protected]) --- I'm hitting this problem, too, after resume from s2ram.

- Linux 5.10.1
- CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
- Xorg 1.20
- Mesa 20.2

See attached file dcn10_get_dig_frontend.log

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #4 from Klaus Mueller ([email protected]) --- Created attachment 294343
--> https://bugzilla.kernel.org/attachment.cgi?id=294343&action=edit
Trace linux 5.10.1

see entry before

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #5 from Klaus Mueller ([email protected]) ---
Seems to be fixed for me since the last firmware update for the Picasso driver:
- xf86-video-amdgpu-19.1.0-lp152.67.5.x86_64
- kernel-firmware-20201218-lp152.36.1.noarch

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

Oliver Reeh ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Oliver Reeh ([email protected]) ---
The same happens on kernel 5.10.7 with kernel-firmware-20210109_d528862.

- CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (family: 0x17, model:
0x18, stepping: 0x1)
- XOrg 1.20.10
. Mesa 20.3.2

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #7 from Klaus Mueller ([email protected]) ---
Yeah, it came again yesterday evening - after it has been disappeared for about one week ... .

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #8 from Oliver Reeh ([email protected]) --- It's fixed in kernel 5.10.9 with Mesa 20.3.3.

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #9 from Klaus Mueller ([email protected]) --- no - same behavior as before with 5.10.9 and Mesa 20.3.3

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #10 from Klaus Mueller ([email protected]) --- Uups, it's the other crash now:

2021-01-23T18:45:31.955962+01:00 localhost kernel: [23110.401847]
[drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR*
[CRTC:62:crtc-0] flip_done timed out
2021-01-23T18:45:31.955989+01:00 localhost kernel: [23110.401869]
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:62:crtc-0] flip_done timed out
2021-01-23T18:45:42.709289+01:00 localhost kernel: [23121.153848]
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[PLANE:52:plane-3] flip_done timed out
2021-01-23T18:45:42.709318+01:00 localhost kernel: [23121.153944] ------------[
cut here ]------------
2021-01-23T18:45:42.709320+01:00 localhost kernel: [23121.154112] WARNING: CPU:

4 PID: 2627 at ../drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7272 amdgpu_dm_atomic_commit_tail+0x22b1/0x2360 [amdgpu]

let's wait ...

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #11 from Oliver Reeh ([email protected]) --- The problem is back with kernel 5.10.10.

[   89.664494] WARNING: CPU: 6 PID: 4323 at

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x94/0xc0 [amdgpu]

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

Frank Kruger ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #12 from Frank Kruger ([email protected]) ---
I am seeing the aforementioned warning at boot for kernel >= 5.10.10, with kernel-firmware-amdgpu-20210119 (AMD Ryzen 7 PRO 4750U). Kernel 5.10.9 does not have it.

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

Erik Quaeghebeur ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
                   |                            |ail.net

--- Comment #15 from Erik Quaeghebeur ([email protected]) --- Created attachment 295319
--> https://bugzilla.kernel.org/attachment.cgi?id=295319&action=edit
Trace for 5.10.16 at boot

(In reply to Frank Kruger from comment #12)

Quoted 2 lines

I am seeing the aforementioned warning at boot for kernel >= 5.10.10, with kernel-firmware-amdgpu-20210119 (AMD Ryzen 7 PRO 4750U). […]

I can confirm this for 5.10.16.

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #16 from Oliver Reeh ([email protected]) --- Looks like this is fixed in 5.11.0 and 5.11.1.

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #17 from Lahfa Samy ([email protected]) ---

Quoted 1 line

Looks like this is fixed in 5.11.0 and 5.11.1.

I'm still getting this issue reliably under kernel 5.11.1 when resuming from suspended state.(In reply to Oliver Reeh from comment #16)

So I confirm this for 5.11.1, still not solved.

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#17 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #18 from Lahfa Samy ([email protected]) --- Created attachment 295425
--> https://bugzilla.kernel.org/attachment.cgi?id=295425&action=edit
Trace after resume from S3 state on 5.11.1

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #19 from Klaus Mueller ([email protected]) ---
I didn't see any problem any more since 2021-02-14 and linux 5.10.16 with this patch applied:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/releases/5.9.14/revert-amd-amdgpu-disable-vcn-dpg-mode-for-picasso.patch

Hope that this really fixed the problem for me.

Signature · 8 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#19 lore raw

[Bug 209713] amdgpu drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_link_encoder.c:483 dcn10_get_dig_frontend+0x9e/0xc0 [amdgpu] when resuming from S3 state

In reply to [email protected]

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

--- Comment #20 from Oliver Reeh ([email protected]) --- Still no problem here with the 5.11.x kernels.

Signature · 8 lines
You may reply to this email to add a comment.

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