Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Power management with driver dependencies



Hi,
I'm working an a display driver for a card(PCI) that does not only
serves as a graphic card. So I have a service provider for my Framebuffer
driver (declared in the bundle bits of FB and receive it in the start.)

Now I'm worried about power management. We all know that diplay can go to
sleep even if the system does not go to sleep. This is not a problem. The
problem occurs if the provider receive a notification to go to sleep before
the framebuffer does. In which case the framebuffer will talk to nobody when
wnating to go sleep afterwards.

Q1: will IOKit be smart emough to sleep my drivers in the dependency order ?
I.e: Framebuffer first, provider second.

Q: if no to Q1, can I use the registerInterrestedDriver mechanism in my
framebuffer to make sure it will shut itself down (and notify the OS it has
shut down) before the provider go down ?

Francis
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.