From: "Andrew Paprocki" <andrew@ishiboo.com>
To: "Sam Ravnborg" <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Geode GX framebuffer driver: Arcom vs. AMD
Date: Sat, 14 Jul 2007 16:57:11 -0400 [thread overview]
Message-ID: <76366b180707141357g39eca7a8p706f39a7a515719a@mail.gmail.com> (raw)
In-Reply-To: <20070714191854.GD13823@uranus.ravnborg.org>
On 7/14/07, Sam Ravnborg <sam@ravnborg.org> wrote:
> After a very brief look on the relevant part of the patch:
> -> Needs to be adapted to CodingStyle all over.
I agree, this can be done if it was ever going to be included.
> -> The use of AMD specific BUILDNUM etc are not used in-kernel
This can be cleaned up as well, or put behind some #ifdef to allow AMD
to keep using their own system, I suppose.
> -> The HAL in lib/cimarron needs to be justified - who are the oter users?
The HAL is used by the driver, obviously, but is included in
lib/cimarron for any other module writers which want to access the
graphics hardware from inside the kernel. When you're developing a
user app and want to access the hardware, you link Cimarron into your
code directly. I'm not sure what other kernel modules AMD expected to
be written, but I'm guessing they just wanted to keep their HAL and
write the framebuffer driver in terms of that instead of maintaining a
user-space HAL and a duplicate kernel driver.
> -> There seems to be a _lot_ of specific defines in lib/cimarron - I wonder
> if this is the way used in the rest of the kernel?
Which defines are you referring to? I know there are a few 'settings'
which are modified by changing #defines in one of the .h files. I'm
assuming that those would be moved to Kconfig values if this was ever
in the kernel.
> But anyway - the patch it not trivially ready for inclusion.
I agree. I just did the work to port it from 2.6.11 to 2.6.22 just to
get it working in my tree. It all builds cleanly now, so any work
would most likely be cosmetic to clean up the code base.
next prev parent reply other threads:[~2007-07-14 20:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 19:01 Andrew Paprocki
2007-07-14 19:18 ` Sam Ravnborg
2007-07-14 20:57 ` Andrew Paprocki [this message]
2007-07-14 22:13 ` Sam Ravnborg
2007-07-14 20:31 ` Antonino A. Daplas
2007-07-14 21:05 ` Andrew Paprocki
2007-07-14 22:55 ` Antonino A. Daplas
2007-07-18 1:42 ` Jordan Crouse
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=76366b180707141357g39eca7a8p706f39a7a515719a@mail.gmail.com \
--to=andrew@ishiboo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®