• Florian Tobias Schandinat's avatar
    Move individual start address setting to viafb_set_primary_address and · 98035d5a
    Florian Tobias Schandinat authored
    viafb_set_secondary_address and make it more flexible to reuse it for
    panning.  Using central functions makes it easier to follow HW
    manipulations.
    
    Remove crt locking as it should be only needed for timing manipulation.
    Move iga_path manipulation to via_pci_probe.
    
    Remove memset for screen cleaning as it is currently done only for the
    second screen.  This is not needed for normal operation but has a little
    chance of causing unwanted display artifacts.  This can be fixed later
    more consistent and more efficient (using viafb_fillrect) if needed.
    
    This is a code clenup, no notable runtime changes expected.
    Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
    Cc: Scott Fang <ScottFang@viatech.com.cn>
    Cc: Joseph Chan <JosephChan@via.com.tw>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    98035d5a
hw.h 29.2 KB