Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754271Ab3HVTt6 (ORCPT ); Thu, 22 Aug 2013 15:49:58 -0400 Received: from tx2ehsobe002.messaging.microsoft.com ([65.55.88.12]:45780 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754204Ab3HVTt4 convert rfc822-to-8bit (ORCPT ); Thu, 22 Aug 2013 15:49:56 -0400 X-Forefront-Antispam-Report: CIP:165.204.84.221;KIP:(null);UIP:(null);IPV:NLI;H:atltwp01.amd.com;RD:none;EFVD:NLI X-SpamScore: 0 X-BigFish: VPS0(zcb8kz9371I542I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h17326ah1de096h8275dh1de097hz2dh839h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h14ddh1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dfeh1dffh1e1dh1fe8h1ff5h1155h) X-WSS-ID: 0MRY6YB-07-50B-02 X-M-MSG: From: "Deucher, Alexander" To: Ondrej Zary , Kernel development list Subject: RE: Asus F5RL laptop unable to resume from S3 because of radeon module Thread-Topic: Asus F5RL laptop unable to resume from S3 because of radeon module Thread-Index: AQHOn2QJDWs/tyYIKkSonwrb64q0hpmhogFQ Date: Thu, 22 Aug 2013 19:49:41 +0000 Message-ID: References: <201308222018.00905.linux@rainbow-software.org> In-Reply-To: <201308222018.00905.linux@rainbow-software.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.224.12.22] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: amd.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5400 Lines: 125 > -----Original Message----- > From: Ondrej Zary [mailto:linux@rainbow-software.org] > Sent: Thursday, August 22, 2013 2:18 PM > To: Kernel development list > Cc: Deucher, Alexander > Subject: Asus F5RL laptop unable to resume from S3 because of radeon > module > > Hello, > resume from suspend-to-RAM (S3) on Asus F5RL laptop does not work. > According to many reports found by Google, it was always been that and > there > is no fix or workaround. Make sure your kernel has this patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cef1d00cd56f600121ad121875655ad410a001b8 Alex > > Did some tests: > > radeon module loaded (usual state): > After "echo mem>/sys/power/state", the laptop suspends correctly (power > LED > blinks). When power button is pressed, power LED goes on and that's all. > No more activity, machine is frozen completely. > > radeon module not loaded at all: > Laptop resumes correctly (keyboard LED work, network works), only the LCD > is > blank (obviously). Loading radeon module now initializes the card properly: > LCD goes on and console works. > > radeon module loaded (but fbcon module not loaded) and then unloaded: > Machine freezes the same way as when the module is loaded. > > So it looks like the radeon module does some initialization that prevents > resume from working. > > Hibernation works fine. > > Any ideas what to test or how to debug this? > > Details: > 01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. > [AMD/ATI] RC410M [Mobility Radeon Xpress 200M] [1002:5a62] (prog-if 00 > [VGA controller]) > Subsystem: ASUSTeK Computer Inc. Device [1043:1402] > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10 > Memory at c0000000 (32-bit, prefetchable) [size=256M] > I/O ports at 9800 [size=256] > Memory at fa8f0000 (32-bit, non-prefetchable) [size=64K] > Expansion ROM at fa8c0000 [disabled] [size=128K] > Capabilities: [50] Power Management version 2 > Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- > Kernel driver in use: radeon > > [ 4.836009] [drm] radeon kernel modesetting enabled. > [ 4.837169] [drm] initializing kernel modesetting (RS400 0x1002:0x5A62 > 0x1043:0x1402). > [ 4.837251] [drm] register mmio base: 0xFA8F0000 > [ 4.837302] [drm] register mmio size: 65536 > [ 4.837570] [drm] Generation 2 PCI interface, using max accessible memory > [ 4.837653] radeon 0000:01:05.0: VRAM: 128M 0x0000000078000000 - > 0x000000007FFFFFFF (128M used) > [ 4.837714] radeon 0000:01:05.0: GTT: 512M 0x0000000080000000 - > 0x000000009FFFFFFF > [ 4.837787] [drm] Detected VRAM RAM=128M, BAR=256M > [ 4.837839] [drm] RAM width 128bits DDR > [ 4.839854] [TTM] Zone kernel: Available graphics memory: 444588 kiB > [ 4.839907] [TTM] Zone highmem: Available graphics memory: 972784 kiB > [ 4.839959] [TTM] Initializing pool allocator > [ 4.840042] [drm] radeon: 128M of VRAM memory ready > [ 4.840094] [drm] radeon: 512M of GTT memory ready. > [ 4.840160] [drm] GART: num cpu pages 131072, num gpu pages 131072 > [ 4.866905] [drm] radeon: 2 quad pipes, 1 z pipes initialized. > [ 4.872945] [drm] PCIE GART of 512M enabled (table at > 0x0000000035A00000). > [ 4.873213] radeon 0000:01:05.0: WB enabled > [ 4.873301] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr > 0x0000000080000000 and cpu addr 0xf592c000 > [ 4.874929] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). > [ 4.874988] [drm] Driver supports precise vblank timestamp query. > [ 4.875055] [drm] radeon: irq initialized. > [ 4.875119] [drm] Loading R300 Microcode > [ 4.962083] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver > [ 5.088150] ohci-pci: OHCI PCI platform driver > [ 5.141799] [drm] radeon: ring at 0x0000000080001000 > [ 5.141883] [drm] ring test succeeded in 2 usecs > [ 5.142064] spurious 8259A interrupt: IRQ7. > [ 5.142073] [drm] ib test succeeded in 0 usecs > [ 5.142317] [drm] Panel ID String: LPL > [ 5.142370] [drm] Panel Size 1280x800 > [ 5.166305] [drm] radeon legacy LVDS backlight initialized > [ 5.166358] [drm] Radeon Display Connectors > [ 5.166408] [drm] Connector 0: > [ 5.166458] [drm] VGA-1 > [ 5.166509] [drm] DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68 > [ 5.166560] [drm] Encoders: > [ 5.166610] [drm] CRT1: INTERNAL_DAC2 > [ 5.166660] [drm] Connector 1: > [ 5.166710] [drm] LVDS-1 > [ 5.166760] [drm] DDC: 0x198 0x198 0x19c 0x19c 0x1a0 0x1a0 0x1a4 0x1a4 > [ 5.166812] [drm] Encoders: > [ 5.166862] [drm] LCD1: INTERNAL_LVDS > [ 5.426968] [drm] fb mappable at 0xC0040000 > [ 5.427026] [drm] vram apper at 0xC0000000 > [ 5.427076] [drm] size 4096000 > [ 5.427126] [drm] fb depth is 24 > [ 5.427176] [drm] pitch is 5120 > [ 5.427388] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device > [ 5.427442] radeon 0000:01:05.0: registered panic notifier > [ 5.427501] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:05.0 on > minor 0 > > -- > Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/