Skip to contentSkip to conversation

New: radeon driver breaks suspend to disk and resume from RAM in 3.14

Bug 76761 [email protected] 1 participant 21 messages May 22, 2014 – Aug 29, 2014

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 76761
           Summary: radeon driver breaks suspend to disk and resume from
                    RAM in 3.14
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.14.4 (debian 3.14.4-1 amd64)
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: Yes

Hi!

The suspend/resume has broken again on my laptop with the 3.14 kernel. But it works without any problem when I boot without radeon module, so I assume it's the case.

The problem detail is:
- machine suspends to RAM without problem, but does not resume (hangs with black screen during resume)
- machine does not suspend to disk (just hangs with black screen after "snapshotting system", magic sysrq doesn't work so I assume that's an "oops"), neither via s2disk or echo disk > /sys/power/state

Without the radeon module, everything works OK; the card is RV730.

Are there any other details I should provide?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 76761] radeon driver breaks suspend to disk and resume from RAM in 3.14

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

Alex Deucher <[email protected]> changed:

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

--- Comment #1 from Alex Deucher <[email protected]> --- Can you bisect?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 76761] radeon driver breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

--- Comment #2 from Vitaliy Filippov <[email protected]> --- Yes, I can try to bisect...

Just found Bug 63391 (Radeon RS880 doesn't resume from suspend with radeon dpm enabled), and also tried to disable DPM - suspend works fine without it.

But DPM is an important feature for me, without it the laptop easily gets VERY HOT! So I can't just disable DPM as it was done in Bug 63391...

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

Vitaliy Filippov <[email protected]> changed:

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

            Summary|radeon driver breaks        |radeon DPM breaks suspend
                   |suspend to disk and resume  |to disk and resume from RAM
                   |from RAM in 3.14            |in 3.14
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

--- Comment #3 from Vitaliy Filippov <[email protected]> --- OK I did bisect.

The result is:

6c7bccea390853bdec5b76fe31fc50f3b36f75d5 is the first bad commit commit 6c7bccea390853bdec5b76fe31fc50f3b36f75d5

Author: Alex Deucher <[email protected]>
Date:   Wed Dec 18 14:07:14 2013 -0500

drm/radeon/pm: move pm handling into the asic specific code

We need more control over the ordering of dpm init with respect to the rest of the asic. Specifically, the SMC has to be initialized before the rlc and cg/pg. The pm code currently initializes late in the driver, but we need it to happen much earlier so move pm handling into the asic specific callbacks.

This makes dpm more reliable and makes clockgating work properly on CIK parts and should help on SI parts as well.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

 Attachment #137731|0                           |1

is obsolete| |

--- Comment #8 from Alex Deucher <[email protected]> --- Created attachment 137741
--> https://bugzilla.kernel.org/attachment.cgi?id=137741&action=edit
better fix

Please try this patch instead.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#11 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

--- Comment #10 from Alex Deucher <[email protected]> --- 3.15 is we can make it in in time, otherwise 3.16. I've cc'ed stable so it will show up in older kernels as well too once it's applied upstream.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#13 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

[email protected] changed:

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

--- Comment #12 from [email protected] ---
Hi Alex,

I have reported the same issue in bugs.freedesktop. I tried out the 3.15 linux kernel in archlinux just today. And this issue is still prevalent to me.

Resuming from suspend still results a blank screen using the radeon module in the kernel.

dmesg logs: http://ix.io/cSi

I have a AMD A6-4400M APU that integrates Radeon HD 7520G.

Kind Regards,
Swoorup Joshi

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#14 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

--- Comment #13 from Alex Deucher <[email protected]> --- (In reply to swoorupj from comment #12)

Quoted 5 lines

Hi Alex,

I have reported the same issue in bugs.freedesktop. I tried out the 3.15 linux kernel in archlinux just today. And this issue is still prevalent to me.

Is it the same commit (6c7bccea390853bdec5b76fe31fc50f3b36f75d5) that caused the regression for you as well? If not, you are experienceing a different issue.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#15 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

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

Quoted 10 lines

(In reply to swoorupj from comment #12)

Quoted 5 lines

Hi Alex,

I have reported the same issue in bugs.freedesktop. I tried out the 3.15 linux kernel in archlinux just today. And this issue is still prevalent to me.

Is it the same commit (6c7bccea390853bdec5b76fe31fc50f3b36f75d5) that caused the regression for you as well? If not, you are experienceing a different issue.

No, this issue has been occurring since kernel 3.8.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#20 lore raw

[Bug 76761] radeon DPM breaks suspend to disk and resume from RAM in 3.14

In reply to [email protected]

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

StephenH <[email protected]> changed:

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

--- Comment #19 from StephenH <[email protected]> --- Fedora kernel 3.15.x versions on an Acer Aspire One netbook with AMD C50 processor and Radeon driver has this problem.
Kernel 3.14.x and earlier kernel versions did not have this problem.

Whatever changed between 3.14.x and 3.15.x has caused this problem. I have a bug report at https://bugzilla.redhat.com/show_bug.cgi?id=1121838 but I think the problem will need to be addressed here, upstream from Fedora.

Kernels 3.14 and under = work fine.
Kernels 3.15.x != work

I asked in the buzilla report cited above what changed that could cause this and how do I fix it? With Fedora working to rebase Fedora 20 to 3.16.x, if the problem has not been fixed, then there will be problems. This will be even more so when Fedora 21 is released and Fedora 19 becomes an E.O.L. version. I am currently running Fedora 20, but I have to use a Fedora 19 kernel (3.14.17-100.fc19.x86_64) in order to have suspend/resume work properly.

Please don't ask me to bisect unless you give me explicit directions on how to do so. I have no idea what bisecting does or how to do it. I'm not a developer.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.