From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [giri@lmc.cs.sunysb.edu: Resume from suspend-to-ram] Date: Sat, 21 Feb 2004 10:57:38 +1100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1077321457.9623.27.camel@gaston> References: <20040220235512.GA27779@dreamland.darkstar.lan> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20040220235512.GA27779-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Kronos Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Giridhar Pemmasani List-Id: linux-acpi@vger.kernel.org > Since new radeonfb has suspend/resume driver model, I thought I might > give it a try, but still the laptop would hang during resume. With a > bit of trial and error (and some guess work), I got the laptop to > resume successfully with the following patch. > .../.../ That's interesting. You are basically preventing fbdev from resuming at all. Well, partially, since you still have the radeonfb_set_par, which is supposed to set back the mode. So X manage to restore the chip in a way that radeonfb doesn't. Can you send me a dump of XFree log after such a successful suspend & resume phase ? Ben. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click