[PATCH] Move scsuspend()/scresume() forward to EVENTHANDLERs

Brandon Gooch jamesbrandongooch at gmail.com
Tue Apr 19 16:06:31 UTC 2011


On Tue, Apr 19, 2011 at 10:31 AM, Taku YAMAMOTO <taku at 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 at tackymt.homeip.net>
>
>      - A chicken is an egg's way of producing more eggs. -
>

No patch :(

-Brandon


More information about the freebsd-acpi mailing list