Bug 28386

Summary: [KMS] echo standby > /sys/power/state hang machine forever
Product: DRI Reporter: Andrew Randrianasulu <randrik>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
normal dmesg none

Description Andrew Randrianasulu 2010-06-04 07:24:40 UTC
Using mainline kernel up to 

commit 03cd3739818d3fa7f973d0fb6d3aa63122ea00a0
Merge: 1067b6c 06b4367
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu Jun 3 07:20:28 2010 -0700
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6

i got hard-freeze right after monitor goes into standby mode (blinking led on monitor itself).

Same kernel goes into standby mode OK with nouveau driver or with modprobe radeon modeset=0.

This was observed right after console login, but starting X before makes no difference.

Videocard:

01:00.0 0300: 1002:5964 (rev 01) (prog-if 00 [VGA controller])
        Subsystem: 1787:5964
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at c800 [size=256]
        Region 2: Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at dfec0000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: radeon
        Kernel modules: radeon

a.k.a. Radeon 9200SE

disabling pm_async (echo 0 > /sys/power/pm_async) doesn't help
setting pm_test to [devices] freezes like plain "echo standby > /sys/power/state"

I'll attach dmesg from normal boot
Comment 1 Andrew Randrianasulu 2010-06-04 07:25:28 UTC
Created attachment 36059 [details]
normal dmesg
Comment 2 Alex Deucher 2010-06-04 08:38:17 UTC
Is this a recent regression?  Has s/r worked previously for you with kms?
Comment 3 Andrew Randrianasulu 2010-06-04 11:58:59 UTC
(In reply to comment #2)
> Is this a recent regression?  Has s/r worked previously for you with kms?

May be 0.5 year ago it was working, so not really recent. (I rarely use this mode).
Comment 4 Andrew Randrianasulu 2010-08-02 09:51:01 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Is this a recent regression?  Has s/r worked previously for you with kms?
> 
> May be 0.5 year ago it was working, so not really recent. (I rarely use this
> mode).

It works now, with mainline kernel ( up to commit a63ecd835f075b21d7d5cef9580447f5fbb36263 - Date:   Fri Jul 30 19:02:51 2010 -0700
    Merge master.kernel.org:/home/rmk/linux-2.6-arm )

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.