Skip to contentSkip to conversation

New: Regression in 5.10, Oops at amdgpu_connector_dp_detect()

Bug 210739 [email protected] 1 participant 9 messages Dec 17, 2020 – Dec 26, 2020

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 210739
Summary: Regression in 5.10, Oops at
amdgpu_connector_dp_detect()
Product: Drivers
Version: 2.5
Kernel Version: 5.10
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: Yes

Created attachment 294169
--> https://bugzilla.kernel.org/attachment.cgi?id=294169&action=edit
dmesg from where X11 initializes

Booting into mainline 5.10.1 oopses in the amdgpu module in the routine amdgpu_connector_dp_detect(). Kernels 5.9.15 and below are not affected.

Full dmesg attached. Brief snippet of oops:

    BUG: kernel NULL pointer dereference, address: 0000000000000060
    Call Trace:
     amdgpu_connector_dp_detect+0x159/0x320 [amdgpu]
     drm_helper_probe_detect+0x93/0xd0
     drm_helper_probe_single_connector_modes+0x60c/0x7e0
     drm_client_modeset_probe+0x25c/0x13c0

[etc]

The GPU is inbuilt within the AMD A10-7870K (Radeon R7).
At system start:
modprobe amdgpu clk_support=1
modprobe radeon clk_support=0
Console output seems to be OK during system initialization. But as soon as Xorg starts, the oops occurs, and video output ceases. System is still responsive via the network.

The oops locks the video hardware spectacularly. Neither the BIOS nor pressing the motherboard <reset> button has any effect. Only a power-cycle will get things back to normal.

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 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

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

Alex Deucher ([email protected]) changed:

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

--- Comment #1 from Alex Deucher ([email protected]) --- Fixed with this patch:
https://patchwork.freedesktop.org/patch/408230/
Which will be landing soon.

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 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

--- Comment #2 from Alex Deucher ([email protected]) --- (In reply to Alex Deucher from comment #1)

Quoted 3 lines

Fixed with this patch:
https://patchwork.freedesktop.org/patch/408230/
Which will be landing soon.

Nevermind, this only applies when amdgpu.dc=1

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 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

--- Comment #3 from Alex Deucher ([email protected]) --- Can you bisect?

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 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

--- Comment #4 from Kris Karas ([email protected]) --- OK, just finished the bisect.
The errant commit is:
65bf2cf95d3ade4b56c35b17bb955a64b7f4b019
"drm/amdgpu: utilize subconnector property for DP through atombios"

I reverted that out of my 5.10.1, and all is happy on my machine.

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
#5 lore raw

[Bug 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

--- Comment #5 from Alex Deucher ([email protected]) --- Created attachment 294203
--> https://bugzilla.kernel.org/attachment.cgi?id=294203&action=edit
possible fix

I think this patch should fix it.

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
#6 lore raw

[Bug 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

--- Comment #6 from Frank Kruger ([email protected]) --- (In reply to Alex Deucher from comment #5)

Quoted 4 lines

Created attachment 294203 [details]
possible fix

I think this patch should fix it.

Will the fix be part of 5.10.2? Thx.

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
author Tested-by Kris Karas
#7 lore raw

[Bug 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

Kris Karas ([email protected]) changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #7 from Kris Karas ([email protected]) --- Tested the patch from comment 5, and I confirm it works as intended.

Thanks, Alex, for the fix!
I'll mark as closed.

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 210739] Regression in 5.10, Oops at amdgpu_connector_dp_detect()

In reply to [email protected]

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

John Shand ([email protected]) changed:

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

--- Comment #8 from John Shand ([email protected]) --- Created attachment 294349
--> https://bugzilla.kernel.org/attachment.cgi?id=294349&action=edit
journalctl for debugging purposes

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