Date: Tue, 19 Apr 2011 10:42:32 -0500 From: Brandon Gooch <jamesbrandongooch@gmail.com> To: Taku YAMAMOTO <taku@tackymt.homeip.net> Cc: freebsd-acpi@freebsd.org Subject: Re: [PATCH] Move scsuspend()/scresume() forward to EVENTHANDLERs Message-ID: <BANLkTi=4s8LBHq9cmhvs4J=O7PiKaTpkyA@mail.gmail.com> In-Reply-To: <20110420003133.4dc391f6.taku@tackymt.homeip.net> References: <20110420003133.4dc391f6.taku@tackymt.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 19, 2011 at 10:31 AM, Taku YAMAMOTO <taku@tackymt.homeip.net> wrote: > Hi all, > > > Now, thanks to jkim's work, we have power_suspend and power_resume > EVENTHANDLERs since r220647. > I think it's a good time to move scsuspend()/scresume() to that scheme, too. > > That is: > * We can achieve definitive ordering between vga, drm and so on: > no need to depend on scpm hackery with that scheme. > * Especially combined with adasuspend() (since r220650) and in case of > X server being paged out, we can easily mess up the video card in a > intermediate state without earlier scsuspend(). > > A patch is attached. > > -- > -|-__ YAMAMOTO, Taku > | __ < <taku@tackymt.homeip.net> > > - A chicken is an egg's way of producing more eggs. - > No patch :( -Brandon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=4s8LBHq9cmhvs4J=O7PiKaTpkyA>
