archive mirror
 help / color / mirror / Atom feed
From: Dave Jones <>
To: Jamie Lokier <>
Cc: Gerd Knorr <>,
	Linus Torvalds <>,
	Kernel List <>,
	Andi Kleen <>
Subject: Re: [patch] vesafb fix
Date: Tue, 15 Jul 2003 18:53:58 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Jul 15, 2003 at 06:35:57PM +0100, Jamie Lokier wrote:
 > There used to be a vesafb problem with MTRRs when the framebuffer had
 > an odd size: 2.5MB of RAM (my laptop has this).
 > It would create an MTRR for the first 0.5MB of the framebuffer, and
 > then try to create another for the subsequent 2MB.
 > The latter failed because it's not suitably aligned - i.e. there was a
 > problem in th logic which splits non-power-of-two regions.
 > Is that fixed these days?

Better would be to use change_page_attr to manipulate PAT bits.
We then wouldn't have to worry at all about alignment, running out
of MTRRs, or collisions with other MTRRs.


  reply	other threads:[~2003-07-15 17:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 14:10 [patch] vesafb fix Gerd Knorr
2003-07-15 17:35 ` Jamie Lokier
2003-07-15 17:53   ` Dave Jones [this message]
2003-07-15 18:06     ` Alan Cox
2003-07-15 18:22       ` Dave Jones
2003-07-15 18:46         ` 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).