From: Brad Douglas <brad@neruo.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
linux-kernel@vger.kernel.org
Subject: Re: [Linux-fbdev-devel] [RFC] fbdev & power management
Date: 14 Mar 2001 12:57:20 -0800 [thread overview]
Message-ID: <20010314210026Z131543-406+394@vger.kernel.org> (raw)
In-Reply-To: <Pine.LNX.4.05.10103141429440.24115-100000@callisto.of.borg>
On 14 Mar 2001 14:39:57 +0100, Geert Uytterhoeven wrote:
> On Wed, 14 Mar 2001, Benjamin Herrenschmidt wrote:
> > >I think registering fbcon as a PM client and doing the above when the
> > >fbdev suspend/resume hooks are called should work. A memory backup is
> > >worked on until the resume is run and the backup is restored to the
> > >display.
> > >
> > >So the fbdev drivers would register PM with fbcon, not PCI, correct?
> >
> > Either that, or the fbdev would register with PCI (or whatever), _and_
> > fbcon would too independently. In that scenario, fbcon would only handle
> > things like disabling the cursor timer, while fbdev's would handle HW
> > issues. THe only problem is for fbcon to know that a given fbdev is
> > asleep, this could be an exported per-fbdev flag, an error code, or
> > whatever. In this case, fbcon can either buffer text input, or fallback
> > to the cfb working on the backed up fb image (that last thing can be
> > handled entirely within the fbdev I guess).
>
> I'd go for a fallback to dummycon. It's of no use to waste power on creating
> graphical images of the text console when asleep. And the fallback to dummycon
> is needed anyway while a fbdev is opened (in 2.5.x).
But wouldn't falling back to dummycon prevent the driver specific
suspend/resume calls from working? Or at a minimum, make handling those
calls more complex?
No, there does not need to be graphical images of the text console -- a
simply text buffer would suffice. But what about things like GTKFb and
Embedded QT? They would certainly benefit from having a backup screen
image, right? I do not believe there is any way to determine if the
console is in fact in a 'text' or graphical state.
Brad Douglas
brad@neruo.com
http://www.linux-fbdev.org
next prev parent reply other threads:[~2001-03-14 21:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E14d6Ee-00009a-00@usw-sf-list1.sourceforge.net>
2001-03-14 13:17 ` Benjamin Herrenschmidt
2001-03-14 13:39 ` Geert Uytterhoeven
2001-03-14 14:05 ` Benjamin Herrenschmidt
2001-03-14 14:51 ` Geert Uytterhoeven
2001-03-14 20:57 ` Brad Douglas [this message]
2001-03-21 17:02 James Simmons
2001-03-21 22:09 ` Benjamin Herrenschmidt
-- strict thread matches above, loose matches on Subject: below --
2001-03-14 21:30 James Simmons
2001-03-14 21:20 James Simmons
2001-03-15 11:31 ` Benjamin Herrenschmidt
2001-03-15 12:03 ` Geert Uytterhoeven
2001-03-14 20:48 James Simmons
2001-03-15 8:21 ` Geert Uytterhoeven
2001-03-13 21:25 Benjamin Herrenschmidt
2001-03-14 8:02 ` [Linux-fbdev-devel] " Brad Douglas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010314210026Z131543-406+394@vger.kernel.org \
--to=brad@neruo.com \
--cc=benh@kernel.crashing.org \
--cc=geert@linux-m68k.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®