Skip to contentSkip to conversation

Silicon Motion SM501 Voyager GX fb driver development

DISCUSSION Clemens Koller 2 participants 2 messages Dec 9, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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,

Signature · 17 lines
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/
#1 lore raw
Quoted 18 lines · Clemens Koller

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.

Quoted 3 lines

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/