From: Antonino A. D. <ad...@ho...> - 2004-12-09 20:02:18
|
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 |