[PATCH] ppc32: pmac sleep support update

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Feb 4 09:15:01 EST 2005

On Thu, 2005-02-03 at 13:57 +0100, Olaf Hering wrote:
>  On Tue, Jan 18, Benjamin Herrenschmidt wrote:
> > Hi !
> > 
> > This patch updates the PowerMac sleep support. The ability to sleep is now broken
> > into 2 different flags, one, "may sleep" is set for all motherboards that we know
> > how to put to sleep and wakeup. It gets turned into "can sleep" upon a call from
> > the video driver indicating the ability to wakeup the video card. This doesn't
> > deal with head-less machines, but this can be improved later. It also adds better
> > cache flush code, which improves stability with cpufreq as well as sleep.
> > 
> > This patch actually breaks sleep support until the video drivers for the affected
> > machines have been updated. This will come as separate patches.
> Is that supposed to work? 2.6.11-rc2-bk10 sleeps ok on a pismo, but -rc3
> just does nothing when closing the lid.

It's normal, the kernel is waiting for the video driver to do a platform
call to indicate it supports sleep/wakeup on this model. The video
driver updates haven't been pushed yet. This concerns laptops with
nVidia, r128 and radeon chips. The former, we don't know how to wake
them up yet, the r128 patch is trivial and should go in, the radeonfb
patch is still beeing debated on.


More information about the Linuxppc-dev mailing list