From: Sven Luther <sven.luther@wanadoo.fr>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Otto Solares <solca@guug.org>,
James Simmons <jsimmons@infradead.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: fbdv/fbcon pending problems
Date: Wed, 25 Feb 2004 15:01:21 +0100 [thread overview]
Message-ID: <20040225140121.GA13029@lambda> (raw)
In-Reply-To: <Pine.GSO.4.58.0402251240140.24169@waterleaf.sonytel.be>
On Wed, Feb 25, 2004 at 12:41:25PM +0100, Geert Uytterhoeven wrote:
> On Tue, 24 Feb 2004, Otto Solares wrote:
> > On Wed, Feb 25, 2004 at 01:21:39AM +0000, James Simmons wrote:
> > > > On the other side i see a lot of effort in the fbdev acceleration,
> > > > it is nice but that effort should be better spent on fixing the layer,
> > > > imo, the only user for acceleration is fbcon, any userland app that
> > > > use fbdev disables that acceleration so it can map the vmem and ioregs,
> > > > and do it's own voodoo if it wants acceleration. That acceleration
> > > > is not "exported" to user space. I am working in a open source project
> > > > that uses mesa-solo with fbdev and many limitations from the layer
> > > > itself have been seen.
> > >
> > > That is true so far for fillrect and copyarea functions. Imageblit will be
> > > used for read and writes on /dev/fbX. Also it is used for software
> > > cursors.
> >
> > But if acceleration is not disabled you can't map the vmem and io regions.
>
> I don't expect an app that mmap()s mmio to read/write from /dev/fb* at the same
> time. So I see no problem disabling accelerated read/write while mmio is
> mapped.
I wonder about X though. It uses mmio for accels (in the non fbdev case
though) and needs to map the memory area for fallback case, like the non
supported bressenham lines on permedia 2/3 for example. Altough it is
possible that the fact that X does its own mapping, and anyway, has very
little interaction with fbcon and fbdev anyway.
Friendly,
Sven Luther
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
WARNING: multiple messages have this Message-ID (diff)
From: Sven Luther <sven.luther@wanadoo.fr>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Otto Solares <solca@guug.org>,
James Simmons <jsimmons@infradead.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [Linux-fbdev-devel] fbdv/fbcon pending problems
Date: Wed, 25 Feb 2004 15:01:21 +0100 [thread overview]
Message-ID: <20040225140121.GA13029@lambda> (raw)
In-Reply-To: <Pine.GSO.4.58.0402251240140.24169@waterleaf.sonytel.be>
On Wed, Feb 25, 2004 at 12:41:25PM +0100, Geert Uytterhoeven wrote:
> On Tue, 24 Feb 2004, Otto Solares wrote:
> > On Wed, Feb 25, 2004 at 01:21:39AM +0000, James Simmons wrote:
> > > > On the other side i see a lot of effort in the fbdev acceleration,
> > > > it is nice but that effort should be better spent on fixing the layer,
> > > > imo, the only user for acceleration is fbcon, any userland app that
> > > > use fbdev disables that acceleration so it can map the vmem and ioregs,
> > > > and do it's own voodoo if it wants acceleration. That acceleration
> > > > is not "exported" to user space. I am working in a open source project
> > > > that uses mesa-solo with fbdev and many limitations from the layer
> > > > itself have been seen.
> > >
> > > That is true so far for fillrect and copyarea functions. Imageblit will be
> > > used for read and writes on /dev/fbX. Also it is used for software
> > > cursors.
> >
> > But if acceleration is not disabled you can't map the vmem and io regions.
>
> I don't expect an app that mmap()s mmio to read/write from /dev/fb* at the same
> time. So I see no problem disabling accelerated read/write while mmio is
> mapped.
I wonder about X though. It uses mmio for accels (in the non fbdev case
though) and needs to map the memory area for fallback case, like the non
supported bressenham lines on permedia 2/3 for example. Altough it is
possible that the fact that X does its own mapping, and anyway, has very
little interaction with fbcon and fbdev anyway.
Friendly,
Sven Luther
next prev parent reply other threads:[~2004-02-25 14:11 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-23 0:53 fbdv/fbcon pending problems Benjamin Herrenschmidt
2004-02-23 0:53 ` Benjamin Herrenschmidt
2004-02-23 15:52 ` Johannes Stezenbach
2004-02-23 18:59 ` James Simmons
2004-02-23 22:50 ` Benjamin Herrenschmidt
2004-02-23 22:50 ` Benjamin Herrenschmidt
2004-02-24 1:19 ` James Simmons
2004-02-24 1:19 ` James Simmons
2004-02-24 8:37 ` Geert Uytterhoeven
2004-02-24 8:37 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-24 8:33 ` Benjamin Herrenschmidt
2004-02-24 8:33 ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-23 20:35 ` Thorsten Kranzkowski
2004-02-23 22:18 ` James Simmons
2004-02-23 22:18 ` James Simmons
2004-02-24 2:37 ` Otto Solares
2004-02-24 2:37 ` [Linux-fbdev-devel] " Otto Solares
2004-02-24 8:35 ` Geert Uytterhoeven
2004-02-24 8:35 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-24 17:21 ` James Simmons
2004-02-24 21:41 ` Otto Solares
2004-02-25 1:21 ` James Simmons
2004-02-25 1:21 ` [Linux-fbdev-devel] " James Simmons
2004-02-25 1:26 ` Benjamin Herrenschmidt
2004-02-25 1:26 ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-25 21:24 ` James Simmons
2004-02-25 21:24 ` [Linux-fbdev-devel] " James Simmons
2004-02-25 23:46 ` Benjamin Herrenschmidt
2004-02-25 23:46 ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-26 0:20 ` James Simmons
2004-02-26 0:20 ` [Linux-fbdev-devel] " James Simmons
2004-02-26 0:33 ` Benjamin Herrenschmidt
2004-02-26 0:33 ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-26 1:11 ` James Simmons
2004-02-25 1:29 ` Benjamin Herrenschmidt
2004-02-25 1:29 ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-25 2:18 ` Otto Solares
2004-02-25 2:18 ` [Linux-fbdev-devel] " Otto Solares
2004-02-25 2:33 ` Benjamin Herrenschmidt
2004-02-25 2:33 ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-25 3:15 ` Otto Solares
2004-02-25 3:15 ` [Linux-fbdev-devel] " Otto Solares
2004-02-25 11:41 ` Geert Uytterhoeven
2004-02-25 11:41 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-25 14:01 ` Sven Luther [this message]
2004-02-25 14:01 ` Sven Luther
2004-02-25 14:08 ` Geert Uytterhoeven
2004-02-25 14:08 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-25 21:43 ` James Simmons
2004-02-25 21:43 ` [Linux-fbdev-devel] " James Simmons
2004-02-26 19:40 ` Otto Solares
2004-02-26 19:40 ` [Linux-fbdev-devel] " Otto Solares
2004-02-26 19:45 ` James Simmons
2004-02-26 19:45 ` [Linux-fbdev-devel] " James Simmons
2004-02-26 20:12 ` Otto Solares
2004-02-26 20:12 ` [Linux-fbdev-devel] " Otto Solares
2004-02-25 21:42 ` James Simmons
2004-02-25 21:42 ` [Linux-fbdev-devel] " James Simmons
2004-02-26 15:26 ` Michel Dänzer
2004-02-26 15:26 ` Michel Dänzer
2004-02-24 5:57 ` Stuart Young
2004-02-24 5:57 ` Stuart Young
2004-02-24 8:36 ` Geert Uytterhoeven
2004-02-24 8:36 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-25 7:14 ` Stuart Young
2004-02-25 7:14 ` [Linux-fbdev-devel] " Stuart Young
2004-02-26 15:11 ` Michel Dänzer
2004-02-26 15:11 ` Michel Dänzer
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=20040225140121.GA13029@lambda \
--to=sven.luther@wanadoo.fr \
--cc=benh@kernel.crashing.org \
--cc=geert@linux-m68k.org \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=solca@guug.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 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.