Re: [PATCH] Use MTRRs by default for vesafb on x86-64

From: Jamie Lokier (jamie@shareable.org)
Date: Sun May 18 2003 - 17:34:46 EST


Alan Cox wrote:
> > What exactly "doesn't work" with these cards?
>
> If you sent an MTRR you get crap on the display. I'm not sure if that is
> registers being covered (seems dubious) or other PCI problems perhaps
> with bursts

Is it consistently bad, or is it just an occasional glitch, pixel here
or there that goes wrong?

I like your suggestion of PCI bursts - perhaps the card's FIFO to
video RAM overflows due to RAM being too slow or too busy for display
reads. It seems quite plausible. It might even depend on the video mode.

If that's the problem, a test which writes a data pattern to a
significant chunk of video RAM in sequence, as fast as possible, and
then reads it would be practically guaranteed to spot this and
indicate that MTRRs aren't suitable for this card in this mode.

-- Jamie

-
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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:31 EST