lkml.org 
[lkml]   [2003]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] vesafb fix
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.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2011 Jasper Spaans