mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Mapping large framebuffers into kernel space
@ 2003-09-07 18:21 Jon Smirl
  2003-09-07 19:12 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Smirl @ 2003-09-07 18:21 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, kronos; +Cc: linux-kernel

I just got a new P4 machine with 1GB memory and I'm trying to make radeonfb
work on it.  I am compiled with HIGHMEM4G. The motherboard is i875P based which
supports 64b DMA.

When I first loaded radeonfb it would fail because ioremap was failing. I
tracked the problem down to not having any free kernel address space below 1GB.
I created some by adding reserve=FE000000-100000000 to the kernel command line.
 This allowed radeonfb to load.

I'm beginning to wonder if framebuffers should be mapped into kernel space. 
What's going to happen when I get a 512MB video card? Does the framebuffer have
to be mapped in the first 1GB of kernel address space?

If the framebuffer is mapped, it's a perfect candidate for a large page table
entry because it is a very large piece of linear memory that not's going to be paged.

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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Mapping large framebuffers into kernel space
@ 2003-09-07 21:18 Jon Smirl
  2003-09-07 22:25 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Smirl @ 2003-09-07 21:18 UTC (permalink / raw)
  To: Alan Cox; +Cc: Benjamin Herrenschmidt, kronos, Linux Kernel Mailing List

Is there something preventing kernel framebuffers from being mapped to the high
end of the 4GB kernel address space? Or do they have to be mapped below 1GB?
Framebuffer access isn't that performance sensitive, after all it is on the PCI bus.

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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-08 12:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-07 18:21 Mapping large framebuffers into kernel space Jon Smirl
2003-09-07 19:12 ` Alan Cox
2003-09-07 19:26   ` Zwane Mwaikambo
2003-09-07 19:42   ` Jon Smirl
2003-09-07 21:18 Jon Smirl
2003-09-07 22:25 ` Alan Cox
2003-09-08  0:17   ` Jon Smirl
2003-09-08 12:28     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®