Messages in this thread | | | Date | Tue, 15 Jul 2003 18:53:58 +0100 | From | Dave Jones <> | Subject | Re: [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/
| |