From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: fbdev and power management Date: 09 Jul 2003 13:35:58 +0200 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1057750557.514.22.camel@gaston> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from griffon.mipsys.com ([217.167.51.129] helo=gaston) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19aDFV-0004bx-00 for ; Wed, 09 Jul 2003 04:36:37 -0700 In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: James Simmons Cc: Linux Kernel Mailing List , Linux Fbdev development list > No patches at this time. I need to learn the new power management code. > Where are the docs for them ? The PM code in radeonfb is probably only useful for Mac laptops where we have to manually put the chip in D2 state. I don't think x86 laptops use D2... Note that I have a patch adding some basic PM support to fbdev in 2.5 that I need to send you for review. The PM is always initiated by the low level driver which gets notified of PM events by its parent bus, what I added is a way for the driver to "broadcast" that to clients like fbcon so fbcon can stop touching the framebuffer while the chip is potentially off, and can restore the display on wakeup. I'll send that to you asap. Note: The Power Management isn't well implemented in 2.5 yet. The infrastructure is mostly there, but the driver side semantics are still wrong. Patrick Mochel has a new implementation that is much better, but he didn't merge it upstream yet. I expect this will happen around Kernel Summit / OLS. Ben. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps