Re: Power Management framework proposal

From: Matthew Garrett
Date: Sun Jul 29 2007 - 21:51:11 EST


On Sun, Jul 29, 2007 at 03:00:07PM -0700, david@xxxxxxx wrote:

> yes it is, and each type of device is growing it's own, incompatible,
> interfaces for controlling things like this. I was aiming to do two
> things.

Anything playing with power management needs to be aware of the
limitations of the hardware. Many devices have reduced functionality
when in reduced power states, and it's vital that the caller be aware of
that. There's no way to express that information in a consistent way
because the limitations vary widely between different types of device.
So, given that software will need to be aware of the different special
cases for different types of hardware, there's very little cost to each
of them exposing a different interface.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/