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
 | __ <     <[email protected]>

      - A chicken is an egg's way of producing more eggs. -
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[email protected]"

Reply via email to