Re: [PATH] swsusp update 3/3

Guido Guenther
2004-11-24T10:32:09Z

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