From: Sven Luther <sven.luther@wanadoo.fr>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: James Simmons <jsimmons@infradead.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH] Fix switch from XFree
Date: Tue, 10 Feb 2004 12:06:22 +0100 [thread overview]
Message-ID: <20040210110622.GA1913@lambda> (raw)
In-Reply-To: <1076409397.873.6.camel@gaston>
On Tue, Feb 10, 2004 at 09:36:42PM +1100, Benjamin Herrenschmidt wrote:
> Hi James !
>
> (This patch includes the one adding the lock around the notifier
> registration so you can drop that previous one)
>
> Currently, there is a problem when switching from XFree to a console
> that became especially annoying now that we have some accelerations
> in radeonfb 2.6. XFree leaves the accel engine in a state that is
> incorrect for our accel operations. This problem is generic with most
> drivers, we can't expect X to leave the accel engine in the right
> state, that's simply unrealistic.
Mmm, i wonder about this. The X driver is supposed to be responsible for
saving and reseting the engine when leaving/entering. This is usually
done in a separate way when using or not using fbdev.
Now, if we are going to save/restore the contect too, then this would
mean a risk of dual saving the engine state. Or maybe the X server
doesn't really save the context, but just reinitialize it when entering.
I have the feeling that more working together would be helpfull, or
maybe setup a proper policy for X/fbdev to handle this properly.
Maybe the fbdev driver could set a flag or something, which would tell
the X server that it is taking charge of saving/restoring the accel
engine, so the X driver would not try doing this too, at least in the
UseFBDev case (but do we care about the other case ?).
Friendly,
Sven Luther
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
next prev parent reply other threads:[~2004-02-10 11:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-10 10:36 [PATCH] Fix switch from XFree Benjamin Herrenschmidt
2004-02-10 11:06 ` Sven Luther [this message]
2004-02-10 11:17 ` Benjamin Herrenschmidt
2004-02-10 11:28 ` Sven Luther
2004-02-10 11:31 ` Benjamin Herrenschmidt
2004-02-10 12:34 ` Geert Uytterhoeven
2004-02-10 22:13 ` Benjamin Herrenschmidt
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=20040210110622.GA1913@lambda \
--to=sven.luther@wanadoo.fr \
--cc=benh@kernel.crashing.org \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.