• Andrew Morton's avatar
    [PATCH] Console blanking fix · 520aa095
    Andrew Morton authored
    From: Samuel Thibault <Samuel.Thibault@ens-lyon.fr>
    
    Some fixes for console blanking: on some laptops, doing VESA blanking after
    the bios did an apm blanking because of a screen closure thrashes the
    recovery (the video board doesn't seem to have synchronisation registers
    correctly initialized, since the LCD panel progressively turns white, maybe
    damaging it ?).
    
    I hence moved the schedule for vesa powerdown after the apm blank hook
    call, so that if it succeeds, it won't be called.  I also moved the apm
    unblank & palette restoration after the vesa unblank, to have a more lifo
    scheme (also required, or the screen remains black).
    
    Btw, why del_timer_sync was called twice in timer_do_blank_screen when
    vesa_off_interval==0 ?
    520aa095
vt.c 70.5 KB