lkml.org 
[lkml]   [2003]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Use MTRRs by default for vesafb on x86-64
From
Date
Andi Kleen <ak@muc.de> writes:

> x86-64 cannot call the 32bit VESA BIOS. This means when vesafb is active
> it does software copying in the vesa frame buffer. This is insanely slow
> when the frame buffer is not marked for write combining.
>
> Some discussion showed that the use_mtrr flag was only off for some
> old broken ET4000 ISA card. x86-64 has no ISA, so this is no concern.
> Make the default depend on CONFIG_ISA.
>
> Patch for 2.5.69. Originally suggested by Gerd Knorr.

I don't know if this affects the frame buffers per se.

But often BIOS's on systems with large amounts of memory configure
overlapping mtrrs (where an uncacheable mtrr would override a larger
cacheable range). To date this has confused the linux mtrr code when
it tries to modify things, and you cannot properly setup mtrrs. I
believe this applies to both the fb case as well as X.

Eric
-
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:35    [W:0.065 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site