lkml.org 
[lkml]   [2004]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:4.172 / U:0.876 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site