Bug 67121
Summary: | Broken suspend/resume with radeon/KMS on RS482M | ||
---|---|---|---|
Product: | Drivers | Reporter: | Adrian Knoth (adi) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | NEW --- | ||
Severity: | normal | CC: | alexdeucher, szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.12.5 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Xorg-log
radeontool regmatch after fresh boot with AC radeontool regmatch after fresh AC boot, then AC removed radeontool regmatch after fresh boot and AC removed, then AC put back in radeontool regmatch after suspend/resume with AC radeontool regmatch after suspend/resume, then AC removed |
Description
Adrian Knoth
2013-12-16 15:14:25 UTC
Created attachment 118611 [details]
Xorg-log
Created attachment 118621 [details]
radeontool regmatch after fresh boot with AC
Created attachment 118631 [details]
radeontool regmatch after fresh AC boot, then AC removed
Created attachment 118641 [details]
radeontool regmatch after fresh boot and AC removed, then AC put back in
Created attachment 118651 [details]
radeontool regmatch after suspend/resume with AC
Created attachment 118661 [details]
radeontool regmatch after suspend/resume, then AC removed
Random observation: high CPU usage "uncripples" the video output. That is: I suspend to RAM, I resume and unplug the AC, causing the screen to be heavily distorted. When I blindly start burnK7 (from Debian's cpuburn package), CPU usage on one of the cores jumps to 100% and I have a wonderful clear and perfect screen. As soon as I terminate burnK7, the corruption is back. (with AC unplugged all the time; of course, plugging the AC back in always fixes the corruption). So it's a power management issue. For some reasons, the radeon driver (or the hardware) is sensitive to CPU power saving states (idle states?) and the presence of an external power supply. And all this only happens with KMS, not with UMS. So is it an ACPI/PM bug? Or DRI? I suspect the sbios does something to the hw behind the OS/driver's back when you plug/unplug the power. Maybe, but then again, why does with work on a freshly booted machine (before first suspend). And last not least, why isn't UMS affected? (In reply to Adrian Knoth from comment #9) > Maybe, but then again, why does with work on a freshly booted machine > (before first suspend). And last not least, why isn't UMS affected? UMS runs the bios post to re-init the gpu on resume while kms re-inits the hw itself. Presumably the bios post does something else to the system which prevents the issue. |