[lkml]   [2003]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [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.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:46    [W:0.021 / U:0.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site