Subject: Re: power management and idle detection on non-x86
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 05/08/2006 12:31:20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> There's a bunch of Linux power management crapola in the video 
>> drivers.
>> Sleep/wake is "especially" interesting, because some of these video
>> parts have unique initialization considerations.  When running Xwsfb 
>> on
>> non-PC hardware, we might need the underlying wsdisplay to do the
>> initialization.
>
> I have concerns about users of servers other than Xwsfb and how they 
> will interact if we start buggering with various display registers 
> while they're running. I'm sure we can work around them..

It would only make any sense at all with a non-generic kernel driver 
anyway so most x86 are out. Prime examples where this would be useful 
are the sparcbooks ( where I wrote most of the relevant driver code 
anyway and I'd really like to have this under kernel control ) and 
whatever device Garrett s working on ( or rather, anything small and 
mobile ). No need to be overly concerned since this can be implemented 
on a by-device basis.

> Anyway, wsdisplay already exposes an API for blanking the screen; we 
> just need to extend it to support additional types of blanking (dim, 
> sleep, suspend, etc).

Yes, backlight levels etc.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRF9yWMpnzkX8Yg2nAQJ1wwgAnqbNv0g78iaXhQKZokKO3zEUfE6Z0wXr
9Kco1MPjpPyqzHWnB2t+V+CAYas73f3yh8jRm5rj1j188OhyCH8C67ndJnRhp6vs
J0u+wuiaVDI61ISrSHqjm8/jKAJ/fyI/QmkKCJUvNHQUTce4nRAnHkPUbTIg1FMd
gJaEF+bQ65vbM81cDWs7lxY0w2rFHV2eaYnSaPnXlQKLYoG6v9SW8kT5eNRO2zda
4IGny3q6jOUvjS5zhjU3a18qKgVqDXrntoEsdsWxIiHLj5rPABZAX6A/1xB+D78l
SqjdiCZ+UJRFpb8N4OZt8AJIom9rPvjIZfM8SWuP1GmGGLiKGuoy2w==
=VQ7k
-----END PGP SIGNATURE-----