geodefb issues, possible patch
flat view
From: Jorge Luis Zapata Muga <hidden>
Date: 2005-11-11 12:05:27
hi all, i am having problems with the geode fb driver in 2.6 kernels. it seems that it cant ioremap the video registers. ive debug a little bit of code and compared it to the previous kernel tree (2.4) geode fb driver amd (i think) provided. the old driver works perfectly on my SBP. ok here are the things i found: * when requesting the pci regions all the pci_resource_start, pci_resource_len return 0's * the hardcoded offsets for mapping are different from what i found in the other driver, ive changed them to the older values. (to map the video reg, display controller reg, and the fb memory) * the display controller functions to blank the screen, configure display, set clock freq, etc used the vid_regs for writel readl instead (as seen in the other driver) of the dc_vid (display controller registers). after changed all this i can get the frame buffer mapped, but then suddenly the screen goes blank, and the monitor off. like it has power down the screen, suspend, disable the crt, or something. i have a patch if someone is interested. the problem is that i dont know what else to do, as i cant debug (with printf's) the driver as i dont have a screen, how does a fb driver gets debugged? does this driver actually works? what are the pci bar ranges? maybe i have an issue with the pci detection? any help will be appreciated. thanks ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php