Thread (6 messages) 6 messages, 3 authors, 2003-09-24

Re: cfb* routines and high mem

From: Jon Smirl <hidden>
Date: 2003-09-22 16:48:50

We have to do something about the ioremap of large framebuffers in 2.6. Right
now in 2.6, if you have 1GB or more RAM most framebuffers will fail to load.
With the price of memory falling 1GB will become common during the life of 2.6.

The failure is caused by the individual framebuffer drivers ioremap'ing the
framebuffer into kernel address space. With 1GB memory or more it is almost a
certainty that there is not enough kernel address space available.  Even my
16MB cards fail to load.

I believe the best solution to this is to push the ioremap and all fb access
down into fbconsole. This will localize it to a single point. Then modify
fbconsole to map the framebuffer into high mem address space. All accesses to
the high mem framebuffer will need to be bracketed by the high mem access
marcos. I also don't think the kernel has a high mem ioremap() so one will need
to be written.

Will this work for the penguin code?
Are there non-cfb drivers? How hard would it be to convert them?
Is there another solution to the problem?

Don't we pretty much have to do this? I don't think we can just ignore it. 

=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help