• Luis R. Rodriguez's avatar
    video: fbdev: vesafb: add missing mtrr_del() for added MTRR · 6b41f27d
    Luis R. Rodriguez authored
    The MTRR added was never being deleted, in order to store the
    MTRR cookie we need to make use of the private info->par so we
    create a struct for this. This driver was already using the extra
    space typically used for info->par for the info->pseudo_palette
    which typically used stuffed on driver's own private structs
    (the respective info->par), so we just move the pseudo_palette
    into the private struct as well.
    
    Cc: Toshi Kani <toshi.kani@hp.com>
    Cc: Suresh Siddha <sbsiddha@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Juergen Gross <jgross@suse.com>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Antonino Daplas <adaplas@gmail.com>
    Cc: Rob Clark <robdclark@gmail.com>
    Cc: Jingoo Han <jg1.han@samsung.com>
    Cc: Wolfram Sang <wsa@the-dreams.de>
    Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
    Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
    Cc: linux-fbdev@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    6b41f27d
vesafb.c 14.5 KB