linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: James Simmons <jsimmons@transvirtual.com>
Cc: Linux Fbdev development list <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH] fbdev updates.
Date: Fri, 5 Jul 2002 18:57:54 +0100	[thread overview]
Message-ID: <20020705185754.C27920@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0207050948200.25589-100000@www.transvirtual.com>; from jsimmons@transvirtual.com on Fri, Jul 05, 2002 at 10:14:12AM -0700

On Fri, Jul 05, 2002 at 10:14:12AM -0700, James Simmons wrote:
> > First, I detest the idea of "fix", "var", "par" and "info".  Specifically
> > the "par" crap. Intensely.
> 
>    Why? Should each driver have their own structs that are completely
> different then? In this case you would be better off doing something like
> newport_con.c.
> 
>     We pretty much have this today. Each driver has so much excess code
> because they want to create their own special structs. Lost of bloat for
> no reason! I will NOT put up with that anymore!!!! Sorry!

James, you're OTT here.  Look at what the structure contains.  You will
notice that it's very specific to the driver.  Drivers have the implicit
right to define what data they need to maintain their internal state;
the core has no right to define that.

If you're going to be this hard headed about this, YOU can take over
complete maintainence of ALL framebuffer drivers.  I'll direct ALL
problems to you to solve.

It's part of the deal.  Either you allow driver writers to cleanly code
the way they see fit, or you take over maintainence of those drivers.
You break it, you fix it.  What's it to be?

> > "par" and "info" should be combined IMO,
> > which my framebuffer drivers do.
> 
> No!!!! This is one of the reasons we have the mess we have!! Look at how
> much code that could be removed from the standard drivers into fbmem.c and
> fbcon.c.

sa1100fb was already cleaned up in the way YOU wanted to remove most of
the junk back in the 2.4 days.  I consider it to be extremely clean.  Or
used to be.  All that now remains in there has very little commonality
between the drivers.

When there is ONE and only ONE framebuffer device possible, it makes
sense to try to combine structures as much as possible, especially
when:

1. allocation of structures has overhead.
2. you can get some performance advantage from combining such structures.
3. you're running on an embedded platform and are trying not to waste
   ANY resources.

> > Secondly, I think you're completely confused above.  lccr0 and lccr3 have
> > nothing to do with some "generic struct fb_info".  They hold the base
> > register values for two of the SA1100 control registers.
> >
> > Thirdly, you didn't delete them.  You _moved_ them within the structure.
> > They therefore served zero functional purpose.
> 
> If you could send me a patch I would be happy.

Patch for what?  I _really_ don't understand your request here.

> > Fourthly, nothing but the sa1100fb driver has any business accessing the
> > elements around these two both before and after the move.
> 
> True which is why things like that go into par.

Then why are you trying to share the par between others (as you said in
a previous message)?

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf

  reply	other threads:[~2002-07-05 17:58 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-01 17:48 [PATCH] fbdev updates James Simmons
2002-07-02 13:33 ` Jani Monoses
2002-07-05  2:41   ` James Simmons
2002-07-03 23:03 ` Russell King
2002-07-05  4:05   ` James Simmons
2002-07-05  8:44     ` Russell King
2002-07-05  8:53       ` Geert Uytterhoeven
2002-07-05  9:09         ` Russell King
2002-07-05  9:39           ` Geert Uytterhoeven
2002-07-05 10:20             ` Russell King
2002-07-05 17:20               ` James Simmons
2002-07-05 17:16           ` James Simmons
2002-07-05 17:58             ` Russell King
2002-07-05 18:21               ` James Simmons
2002-07-05 18:27                 ` Russell King
2002-07-05 17:14       ` James Simmons
2002-07-05 17:57         ` Russell King [this message]
2002-07-05 18:32           ` James Simmons
2002-07-05 18:39             ` Russell King
2002-07-05 19:00               ` James Simmons
2002-07-05 19:29             ` Ani Joshi
2002-07-05 19:32               ` James Simmons
2002-07-05 19:41                 ` Russell King
2002-07-05 19:57                   ` James Simmons
2002-07-05 19:53                 ` Ani Joshi
2002-07-05 19:55                 ` Ani Joshi
2002-07-05 19:58                   ` James Simmons
2002-07-05 20:21                     ` Ani Joshi
2002-07-05 20:09                       ` James Simmons
2002-07-05 20:34                         ` James Simmons
  -- strict thread matches above, loose matches on Subject: below --
2002-07-24  5:22 James Simmons
2002-07-08 21:23 James Simmons
2002-06-04 20:05 James Simmons
2002-05-28 18:09 James Simmons
2002-05-22 16:54 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=20020705185754.C27920@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=jsimmons@transvirtual.com \
    --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).