Power management with driver dependencies
Power management with driver dependencies
- Subject: Power management with driver dependencies
- From: Francis bouchard <email@hidden>
- Date: Mon, 12 Aug 2002 16:28:18 -0400
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-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.