• Florian Tobias Schandinat's avatar
    viafb: eliminate modetable dependancy of LCD modesetting · bfe7d5f9
    Florian Tobias Schandinat authored
    This patch removes the need for knowing the modetable structure
    within the LCD modesetting function. The magic 60Hz refresh rate was
    already there as always the first entry for a resolution was choosen
    based on the ascending refresh rate ordering in the modetable.
    For all but one this is at least 60Hz, if only higher frequencies
    available we choose those like the code before did. The exception is
    OLPC but that resolution has only one frequency so we get the same
    behaviour there as well.
    Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
    bfe7d5f9
hw.c 59.8 KB