New: radeon: f95429e "only init fbdev if we have connectors" breaks suspend on Clevo P170EM laptop
https://bugzilla.kernel.org/show_bug.cgi?id=112781
Bug ID: 112781
Summary: radeon: f95429e "only init fbdev if we have
connectors" breaks suspend on Clevo P170EM laptop
Product: Drivers
Version: 2.5
Kernel Version: 4.5-rc2
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 204201
--> https://bugzilla.kernel.org/attachment.cgi?id=204201&action=edit
dmesg
On a Clevo P170EM with these GPUs:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wimbledon XT [Radeon HD 7970M] (rev ff)
With rc2 suspend stopped working. It starts to suspend, turns off the display, etc., but then it fails to actually enter the suspend state. The power stays on and after a while the radeon GPU fan starts spinning up. There's nothing in the logs relating to the problem I could find.
I bisected to f95429eccc570dc45d589c327bfcfddcdc3e8228 and confirmed it with latest linux git (4.5-rc5) with this commit reverted - suspend works. Attached is a dmesg with this setup including one successful suspend and wake up.
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
[Bug 112781] radeon: f95429e "only init fbdev if we have connectors" breaks suspend on Clevo P170EM laptop
https://bugzilla.kernel.org/show_bug.cgi?id=112781
--- Comment #1 from Christoph Haag <[email protected]> --- Uhm... bump?
With the latest linux git, I tried
+ radeon_fbdev_init(rdev);
if (!list_empty(&rdev->ddev->mode_config.connector_list)) {
- radeon_fbdev_init(rdev);
drm_kms_helper_poll_init(rdev->ddev);
}and suspend works.
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
[Bug 112781] radeon: f95429e "only init fbdev if we have connectors" breaks suspend on Clevo P170EM laptop
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=112781
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Alex Deucher <[email protected]> --- Created attachment 209091
--> https://bugzilla.kernel.org/attachment.cgi?id=209091&action=edit
fix
The attached 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
[Bug 112781] radeon: f95429e "only init fbdev if we have connectors" breaks suspend on Clevo P170EM laptop
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=112781
--- Comment #3 from Christoph Haag <[email protected]> --- 4.5 with the patch seems to suspend without problems, thanks.
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
[Bug 112781] radeon: f95429e "only init fbdev if we have connectors" breaks suspend on Clevo P170EM laptop
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=112781
Christoph Haag <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX--- Comment #4 from Christoph Haag <[email protected]> --- e5f243bd2edd95c6cc1d90c1878f821068e83fba is in 4.6-rc1.
Thanks.
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