Re: 2.2.16 SMP: mtrr errors

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Dec 13 2000 - 05:55:06 EST


Alan Cox wrote:
> > Petr, the Matrox card splits the memory between the two video screens
> > when running in a multi-head configuration and "pretends" that it is two
> > distinct cards. Thus, a 32 mb card will register an mtrr for 24mb and
> > for 8mb seperately when in this mode.
>
> That is a driver bug. The intel processors only support MTRR's on certain
> power boundaries/sizes. The fall through is intended.

> > in the latest couple of kernels because of all the mtrr work being done,
> > waiting to see if there was resolution.
>
> The Matrox driver needs to register a single 32Mb MTRR

The kernel VESA framebuffer has exactly the same problem. Sometimes
VESA reports 2.5Mb video memory, and vesafb's attempt to register an
MTRR fails.

But should vesafb know about Intel-specific MTRR limitations, given that
those limitations may change?

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



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:26 EST