[SeaBIOS] [PATCH] geodevga: make use of readl and writel for mmio access

Christian Gmeiner christian.gmeiner at gmail.com
Wed Jul 18 08:45:32 CEST 2012


2012/7/18 Kevin O'Connor <kevin at koconnor.net>:
> On Tue, Jul 17, 2012 at 12:08:59PM +0200, Christian Gmeiner wrote:
>> This commit just simplifies some code.
>
> The old code looked to be triggering some kind of SMI to perform the
> action.  Is it really that simple to just replace it with a direct
> memory access?

I think so... I am using the linux driver for the geode lx/gx to add
flat panel support.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/video/geode/lxfb.h;h=cfcd8090f3134e4b9c1132eab909a9e1ddfba3d7;hb=HEAD

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/video/geode/gxfb.h;h=d19e9378b0c01423d3776e7171e457c355e17ddc;hb=HEAD

And have a look at the register access functions. The biggest problem
for me is that I don't have a geode based system with a normal VGA
connector. But the sources of the VSA is also open... so we may have a
loot at it?

---
Christian Gmeiner, MSc



More information about the SeaBIOS mailing list