Re: 2.2.16 SMP: mtrr errors

Jamie Lokier
2000-12-13T11:32:05Z

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