linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Otto Solares <solca@guug.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Frame Buffer Device Development
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH] neofb patches
Date: Wed, 28 Apr 2004 01:08:32 -0600	[thread overview]
Message-ID: <20040428070832.GA23411@guug.org> (raw)
In-Reply-To: <1083112565.20473.10.camel@gaston>

On Wed, Apr 28, 2004 at 10:36:06AM +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2004-04-28 at 10:20, Otto Solares wrote:
> > On Wed, Apr 28, 2004 at 09:10:55AM +1000, Benjamin Herrenschmidt wrote:
> > > Jon Smirl has been working on embedded mesa & moving DRI outside of
> > > X. Unfortunately, last I heard, he was still on his trip of re-inventing
> > > everything including replacing the fbdev's with his own stuff instead
> > > of moving from what we have ...
> > 
> > Ooops! that will break my software that relies on fbdev and
> > mesa-solo!
> 
> Well, I'm sure there is some good in what he is doing too, I don't 
> have time to deal with that at the moment, it would be interesting
> to synchronise properly though.

Yea, I remember he was trying to solve the very same problems
I currently have now.  I like the fbdev abstraction but it has
too many limitations:

- Improper video mode handling.  Simply the device driver should
  hint about valid modes, EDID, etc.
- When an app crashes the layer is unable to recover it's
  previous state even when proper semantics exist (KD_TEXT/GRAPH),
  when the kernel closes the fbdev it must trigger a return to
  KD_TEXT if in KD_GRAPHICS and set the fix and var settings
  remembering that settings before leaving KD_TEXT.
- It should exist a field in the fixed info for the bus_id, so
  intelligent apps will realize which card is attached to a fbdev.
- Cards with various display ports must be handled by the layer,
  with a new API just to handle ports.
- It dangerously coexists currently with the DRM queues and
  SAREA areas.  Both must merge in fbdev.
- VCs mess.
- Wasted effort in accel engines handling is only useful to fbcon,
  nobody needs acceleration to drive a X x Y character matrix
  in fbcon.  The argument that hw without a framebuffer will
  exist and that's why the accel engine must be used is BS,
  the PC, the BIOS and the video framebuffers will never die,
  framebuffer exists in the best video cards money can buy
  today and it exists in planned cards from major manufacturers
  for tomorrow, probably the framebuffer can't be accessed when
  the accel engine is being used in forthcoming cards but that
  is completely a different story.

IMHO this must be addressed ASAP if we want to compete with
Longhorn and MacOSX.  People should realize that fbdev is a
linux standard that needs to be modernized and it must be fixed,
we should not devote more resources to implement complex accel
engines in the fbdev drivers, acceleration has it's place in
userspace layers like DirectFB or DRI (mesa-solo), not in the
kernel where a light, simple and elegant solution for graphics
should exists.

I now understand why Jon Smirl took that hard but neccesary
path.  Even if we start this for 2.7 it will be too late as
linux 2.8/3.0 will ship 2-3 years late.

C'mon James, Ben, Geert, driver writers, let's fix the layer!

-otto



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

  reply	other threads:[~2004-04-28  7:08 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-21  1:14 [PATCH] neofb patches Alex Stewart
2004-04-21 17:47 ` James Simmons
2004-04-21 19:10   ` Antonino A. Daplas
2004-04-22  8:09     ` Geert Uytterhoeven
2004-04-23 23:27       ` James Simmons
2004-04-23 16:53     ` Alex Stewart
2004-04-23 20:03       ` James Simmons
2004-04-23 18:35     ` James Simmons
2004-04-23 19:54       ` James Simmons
2004-04-22  3:18   ` Alex Stewart
2004-04-22 20:57     ` James Simmons
2004-04-23  4:03       ` Alex Stewart
2004-04-23  6:43         ` Alex Stewart
2004-04-23 23:00           ` James Simmons
2004-04-24  3:15             ` [Linux-fbdev-devel] " Randy.Dunlap
2004-04-24  7:08               ` Alex Stewart
2004-04-25  3:10                 ` [Linux-fbdev-devel] " James Simmons
2004-04-25  3:09               ` James Simmons
2004-04-24 17:29             ` Alex Stewart
2004-04-25  0:55               ` James Simmons
2004-04-26 18:12                 ` Alex Stewart
2004-04-27  0:11                   ` James Simmons
2004-04-27  1:15                     ` Alex Stewart
2004-04-27  8:49                       ` Geert Uytterhoeven
2004-04-27 10:12                         ` Benjamin Herrenschmidt
2004-04-27 20:25                           ` James Simmons
2004-04-27 22:48                             ` John Zielinski
2004-04-27 23:10                               ` Benjamin Herrenschmidt
2004-04-27 23:21                                 ` James Simmons
2004-04-27 23:25                                   ` Benjamin Herrenschmidt
2004-04-27 23:46                                   ` John Zielinski
2004-04-27 23:50                                     ` Benjamin Herrenschmidt
2004-04-28  0:38                                       ` John Zielinski
2004-04-28  0:41                                         ` Benjamin Herrenschmidt
2004-04-28  1:39                                           ` John Zielinski
2004-04-28  3:17                                             ` Alex Stewart
2004-04-28  3:18                                               ` Benjamin Herrenschmidt
2004-04-28 17:02                                                 ` James Simmons
2004-04-28  4:36                                               ` John Zielinski
2004-04-28  4:56                                                 ` Alex Stewart
2004-04-28  6:59                                                   ` John Zielinski
2004-04-28  8:26                                         ` Geert Uytterhoeven
2004-04-28 22:00                                           ` John Zielinski
2004-04-28  0:29                                     ` Otto Solares
2004-04-28  0:54                                       ` Antonino A. Daplas
2004-04-28  1:15                                         ` Otto Solares
2004-04-28  1:21                                       ` John Zielinski
2004-04-28 16:53                                         ` James Simmons
2004-04-28  0:23                                   ` Otto Solares
2004-04-28  0:20                                 ` Otto Solares
2004-04-28  0:36                                   ` Benjamin Herrenschmidt
2004-04-28  7:08                                     ` Otto Solares [this message]
2004-04-28  8:27                                       ` Geert Uytterhoeven
2004-04-28 10:16                                       ` Michel Dänzer
2004-04-28 16:37                                         ` Otto Solares
2004-04-28 16:50                                           ` James Simmons
2004-04-28 22:26                                           ` Michel Dänzer
2004-04-28 23:42                                             ` Benjamin Herrenschmidt
2004-04-28 23:59                                               ` James Simmons
2004-04-29  1:06                                               ` Otto Solares
2004-04-29  1:20                                                 ` Benjamin Herrenschmidt
2004-04-29 16:56                                                   ` James Simmons
2004-04-29 21:57                                                     ` Benjamin Herrenschmidt
2004-04-30 15:06                                                       ` Ville Syrjälä
2004-04-30 16:50                                                         ` James Simmons
2004-05-01  0:40                                                           ` Otto Solares
2004-05-06 19:28                                                             ` Mobility M1 refresh code problem 2.4.26? Richard Smith
2004-05-06 19:57                                                               ` Mikael Eriksson
2004-05-06 20:35                                                                 ` Richard Smith
2004-05-06 20:42                                                                   ` Geert Uytterhoeven
2004-05-06 21:12                                                                     ` Richard Smith
2004-05-07  7:57                                                                       ` Mikael Eriksson
2004-05-07 14:11                                                                         ` Richard Smith
2004-05-07 15:34                                                                           ` Mikael Eriksson
2004-05-07 19:42                                                                             ` Richard Smith
2004-05-07 23:11                                                                               ` Mikael Eriksson
2004-04-29  8:32                                               ` [PATCH] neofb patches Geert Uytterhoeven
2004-04-29  1:07                                             ` Otto Solares
2004-04-29  1:23                                               ` Benjamin Herrenschmidt
2004-04-29 13:01                                               ` Michel Dänzer
2004-04-29 17:52                                                 ` Otto Solares
2004-04-29 23:12                                                   ` Michel Dänzer
2004-04-30  1:18                                                     ` Otto Solares
2004-04-30  1:28                                                       ` Michel Dänzer
2004-04-30 21:26                                                         ` Otto Solares
2004-04-28 23:30                                           ` Benjamin Herrenschmidt
2004-04-28 17:39                                       ` James Simmons
2004-04-28 18:03                                         ` Geert Uytterhoeven
2004-04-28 22:46                                         ` John Zielinski
2004-04-27  8:56                   ` Geert Uytterhoeven
2004-04-23 16:07         ` James Simmons

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=20040428070832.GA23411@guug.org \
    --to=solca@guug.org \
    --cc=benh@kernel.crashing.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).