From: Jon Smirl <jonsmirl@yahoo.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>, kronos@kronoz.cjb.net
Cc: linux-kernel@vger.kernel.org
Subject: Mapping large framebuffers into kernel space
Date: Sun, 7 Sep 2003 11:21:44 -0700 (PDT) [thread overview]
Message-ID: <20030907182144.87346.qmail@web14906.mail.yahoo.com> (raw)
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
next reply other threads:[~2003-09-07 18:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-07 18:21 Jon Smirl [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030907182144.87346.qmail@web14906.mail.yahoo.com \
--to=jonsmirl@yahoo.com \
--cc=benh@kernel.crashing.org \
--cc=kronos@kronoz.cjb.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®