linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Jon Smirl <jonsmirl@yahoo.com>
Cc: Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>,
	Kronos <kronos@kronoz.cjb.net>
Subject: Re: Re: New radeonfb 0.2.0 (take 2)
Date: Tue, 09 Sep 2003 09:58:30 +0200	[thread overview]
Message-ID: <1063094309.675.11.camel@gaston> (raw)
In-Reply-To: <20030909031908.58173.qmail@web14903.mail.yahoo.com>

On Tue, 2003-09-09 at 05:19, Jon Smirl wrote:
> Just a thought, but what do you think about splitting radeonfb into two peices?
> Sort of like the way this Rage128 driver is split, http://www.saftware.de/.
> 
> First piece does PCI IDs, EDID, mode setting, command parsing, maybe hardware
> cursor.
> Second does fbcon support such as mapping fb to kernel space, fb accels, etc.
> 
> My idea is that this model could evolve over time into having a base driver for
> each card, and then the FB or DRI drivers would plug into the base. This would
> provide a common place to put locking and state saving code.

Currently, I have split it in:

 - radeon_base : basic PCI registration, CRTC setting (CRTC1 only for now,
if/when I implement CRTC2, I'll move it to a spearate file), and all other
normal driver operations

 - radeon_i2c : the i2c interface low level & EDID DDC2 code

 - radeon_monitor : monitor probing logic & modedb building. This code probes
both heads, eventually uses the i2c code and/or BIOS/OF provided informations

 - radeon_pm : the power management code (mostly used on PowerBooks for now)

I suppose radeon_base could be further split, though you may now that there
is no longer any dependency on fbcon in the fbdev driver per se, most of this
have been removed from 2.6 drivers, so there isn't much point in splitting
the fbcon related part outside of the driver...

What I want to do though is, if/when I add accel back, a separate radeon_accel
file with the accelerated primitives.

Ben.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2003-09-09  7:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1063039868.1836.31.camel@gaston>
2003-09-09  3:19 ` New radeonfb 0.2.0 (take 2) Jon Smirl
2003-09-09  7:58   ` Benjamin Herrenschmidt [this message]
2003-09-09 14:52     ` Jon Smirl
2003-09-09 15:22       ` Benjamin Herrenschmidt
2003-09-09 15:58         ` Jon Smirl
2003-09-09 16:17           ` Benjamin Herrenschmidt
2003-09-12 17:51             ` James Simmons
2003-09-12 17:52       ` James Simmons
2003-09-12 17:53     ` 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=1063094309.675.11.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=jonsmirl@yahoo.com \
    --cc=kronos@kronoz.cjb.net \
    --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).