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?
Can you bisect?
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...
OK I did bisect.
The result is:
6c7bccea390853bdec5b76fe31fc50f3b36f75d5 is the first bad commit
Author: Alex Deucher <firstname.lastname@example.org>
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
This makes dpm more reliable and makes clockgating work
properly on CIK parts and should help on SI parts as well.
Signed-off-by: Alex Deucher <email@example.com>
Do you need any other details about this bug? :)
Alex, do you have any suggestions?..
It was a long weekend in the US. I haven't had a chance to look into it yet.
Created attachment 137731 [details]
Does this patch help?
Created attachment 137741 [details]
Please try this patch instead.
Yes, everything works with it, thanks!
So, in which kernel version are you planning to include this fix?
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.
Thanks, I'll wait for the inclusion :-)
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.
(In reply to swoorupj from comment #12)
> 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
Is it the same commit (6c7bccea390853bdec5b76fe31fc50f3b36f75d5) that caused the regression for you as well? If not, you are experienceing a different issue.
(In reply to Alex Deucher from comment #13)
> (In reply to swoorupj from comment #12)
> > 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
No, this issue has been occurring since kernel 3.8.
Is there a way or patch, I could get all the state of the card and test how they differ before and after suspending?
Since you know everything was ok in 3.8, maybe you'll just also try to bisect? :)
Sorry I have mislead you. I meant I started using linux since 3.8. And I have had this problem since. I don't recall it working with KMS.
swoorupj you have some other issue then. It's not related to this bug.
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.