linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Silicon Motion SM501 Voyager GX fb driver development
@ 2004-12-09 10:44 Clemens Koller
  2004-12-09 20:01 ` Antonino A. Daplas
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Koller @ 2004-12-09 10:44 UTC (permalink / raw)
  To: linux-fbdev-devel

Hello!

Well, I am about to implement a fbdev for the Silicon Motion Inc.'s
SM501 (alias Voyager GX) embedded graphics controller for our
next projects. (http://www.siliconmotion.com/sm501.htm)

The goal is to get a stable fb up and running on a current Kernel 2.6.x
The Platform is currently a PowerMac G4 Windtunnel (CRUX PPC 2.0)
and later on it will be a Freescale MPC8540 embedded processor.
The SM501 hardware is the PCI Demo Board from SMI.

I've started from the latest ix86 released driver from SMI and I
got some basic functionality working. (There appears some (sometimes 
garbled) image on the panel, driver has memory leaks, as there are
pci_resource and ioremap problems ...)
So, the point is, I want to "fix" or better re-write the code
from SMI to get an up-to-date driver for Kernel 2.6.

My question is: Where is a good way to start to learn from
already existing code? radeonfb or aty128fb or which driver
is the most current and Kernel 2.6 aware driver.
Later on I will also need to implement power management and
try to get the other SM501 peripherals working (USB, Audio,
Touchpanel,...)

It's my first framebuffer thing I do, so there might be some
novice questions or completely ungeek mistakes.
Currently I want to fix the module load/unload (ioremap/iounmap)
thing if ioremap is really the current way to do it.
For sure, you can get my code if you want. But it's still in
pretty ugly condition.

Best greets,

-- 
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Silicon Motion SM501 Voyager GX fb driver development
  2004-12-09 10:44 Silicon Motion SM501 Voyager GX fb driver development Clemens Koller
@ 2004-12-09 20:01 ` Antonino A. Daplas
  0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2004-12-09 20:01 UTC (permalink / raw)
  To: linux-fbdev-devel, Clemens Koller

On Thursday 09 December 2004 18:44, Clemens Koller wrote:
> Hello!
>
> Well, I am about to implement a fbdev for the Silicon Motion Inc.'s
> SM501 (alias Voyager GX) embedded graphics controller for our
> next projects. (http://www.siliconmotion.com/sm501.htm)
>
> The goal is to get a stable fb up and running on a current Kernel 2.6.x
> The Platform is currently a PowerMac G4 Windtunnel (CRUX PPC 2.0)
> and later on it will be a Freescale MPC8540 embedded processor.
> The SM501 hardware is the PCI Demo Board from SMI.
>
> I've started from the latest ix86 released driver from SMI and I
> got some basic functionality working. (There appears some (sometimes
> garbled) image on the panel, driver has memory leaks, as there are
> pci_resource and ioremap problems ...)
> So, the point is, I want to "fix" or better re-write the code
> from SMI to get an up-to-date driver for Kernel 2.6.
>
> My question is: Where is a good way to start to learn from
> already existing code? radeonfb or aty128fb or which driver
> is the most current and Kernel 2.6 aware driver.

Drivers that has somewhat busy changelogs are radeonfb and rivafb. atyfb
recently had a pretty massive rewrite.  savagefb is a driver that was recently
introduced in 2.6, so it probably does not have any leftovers from 2.4 code.
intelfb is also another one, just recently ported to 2.6.

Tony




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-09 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09 10:44 Silicon Motion SM501 Voyager GX fb driver development Clemens Koller
2004-12-09 20:01 ` Antonino A. Daplas

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).