Messages in this thread | | | Date | Wed, 24 Nov 2004 11:21:51 +0100 | From | Guido Guenther <> | Subject | Re: [PATH] swsusp update 3/3 |
| |
On Tue, Nov 23, 2004 at 12:58:58AM +0800, hugang@soulinfo.com wrote: > --- linux-2.6.9-ppc-g4-peval/drivers/video/aty/radeon_pm.c 2004-10-20 15:55:34.000000000 +0800 > +++ linux-2.6.9-ppc-g4-peval-hg/drivers/video/aty/radeon_pm.c 2004-11-22 17:16:58.000000000 +0800 > @@ -859,6 +859,10 @@ > * know we'll be rebooted, ... > */ > > +#if 0 /* this breaks suspend to ram until the dust settles... */ > + if (state != PM_SUSPEND_MEM) > +#endif > + return 0; > printk(KERN_DEBUG "radeonfb: suspending to state: %d...\n", state); > > acquire_console_sem(); Please don't. I only added this to my ppc swsusp patches as a temporary hack. It should use "flags = SUSPEND_TO_RAM" from Pavel's bigdiff. I submitted other parts to BenH a while ago, I'm currently working on cleaning some parts up and make it work with suspend-to-ram. -- Guido - 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/
| |