# Re: fbdv/fbcon pending problems

- From: Geert Uytterhoeven \<geert@linux-m68k.org\>
- Date: 2004-02-25 11:41:44 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2004/02/618715
- Thread: https://ratatoskr.run/lkml/2004/02/617936/t.md

```text
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.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
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
```
