From: Marc-Christian Petersen <m.c.p@kernel.linux-systeme.com>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@osdl.org>
Subject: [PATCH 2.6.7-bk] vram boot option
Date: Mon, 31 May 2004 01:03:37 +0200 [thread overview]
Message-ID: <200405310103.37119@WOLK> (raw)
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
Hi Linus,
could we either change that boot opion to "vram:" to be equal to 2.4 or should
we change 2.4 to be equal to 2.6.7-bk? I guess we should do the 1st.
I'm speaking about this one:
http://linux.bkbits.net:8080/linux-2.5/gnupatch@40ba1aa0CbdwIRz9E1pww0NREOd4nQ
And document the option, please!
ciao, Marc
[-- Attachment #2: vram-sane-with-2.4.patch --]
[-- Type: text/x-diff, Size: 950 bytes --]
--- a/Documentation/fb/vesafb.txt 2003-12-18 03:59:06.000000000 +0100
+++ b/Documentation/fb/vesafb.txt 2004-05-31 01:01:12.000000000 +0200
@@ -146,6 +146,10 @@ pmipal Use the protected mode interface
mtrr setup memory type range registers for the vesafb framebuffer.
+vram:n remap 'n' MiB of video RAM. If 0 or not specified, remap memory
+ according to video mode. (2.5.66 patch/idea by Antonino Daplas
+ reversed to give override possibility (allocate more fb memory
+ than the kernel would) to 2.4 by tmb@iki.fi)
Have fun!
--- a/drivers/video/vesafb.c 2004-05-31 00:59:41.000000000 +0200
+++ b/drivers/video/vesafb.c 2004-05-31 01:00:29.000000000 +0200
@@ -207,7 +207,7 @@ int __init vesafb_setup(char *options)
mtrr=1;
else if (! strcmp(this_opt, "nomtrr"))
mtrr=0;
- else if (! strncmp(this_opt, "vram=", 5))
+ else if (! strncmp(this_opt, "vram:", 5))
vram = simple_strtoul(this_opt+5, NULL, 0);
}
return 0;
reply other threads:[~2004-05-30 23:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200405310103.37119@WOLK \
--to=m.c.p@kernel.linux-systeme.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.