1. 23 Jul, 2010 8 commits
    • Florian Tobias Schandinat's avatar
      viafb: update fix before calculating depth · 65123c68
      Florian Tobias Schandinat authored
      viafb: update fix before calculating depth
      
      As the depth calculation depends on information in fix it is saner to
      do the update first.
      No runtime change expected as the value visual in fix used never
      changes to MONO.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      65123c68
    • Florian Tobias Schandinat's avatar
      viafb: PLL value cleanup · 1f844350
      Florian Tobias Schandinat authored
      viafb: PLL value cleanup
      
      This is a big change of how PLL values are handled on the road to
      dynamic PLL value generation. The table was converted automatically in
      the relevant parameters for frequency generation. Sadly there were some
      bits set whose meaning is unknown. Those differences are documented
      but ignored as the unichrome code implies that they are not important
      (a big thanks to Luc for his amazing work).
      The PLL values for 31490000 and 133308000 are deleted as they were more
      than 5% off and not used anyway. The values for CX700@60466000 and
      VX855@153920000 are corrected as they were wrong and easily correctable
      as enough correct values was available because CX700 and VX855 support
      the same values only with a little difference in hardware format.
      All remaining values are not more than 2% off.
      Additionally the surrounding code is changed as needed especially the
      byte order of the values written to hardware to allow nicer conversion
      functions.
      This is mostly a change preparing for dynamic PLL generation and the two
      corrected values aside no runtime change is expected.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      1f844350
    • Florian Tobias Schandinat's avatar
      viafb: simplify lcd size "detection" · cc3fd679
      Florian Tobias Schandinat authored
      viafb: simplify lcd size "detection"
      
      Remove all occurences of get_lcd_size_method as only the values
      GET_LCD_SIZE_BY_VGA_BIOS and GET_LCD_SIZE_BY_USER_SETTING were used
      which had the identical code so there is no need to make things look
      more complicated than they actually are.
      Just a bit of of cleanup, really no regressions expected.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      cc3fd679
    • Florian Tobias Schandinat's avatar
      viafb: fix PCI table · ad0676cf
      Florian Tobias Schandinat authored
      viafb: fix PCI table
      
      This patch fixes an oddity in the device table where the P4M890 ID was
      assigned with the enumeration value of CN700 which itself was missing.
      This is a regression introduced by
      	"viafb: make viafb a first-class citizen using pci_driver"
      
      While at it reorder the table to reflect the order of the  enumeration
      values.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Harald Welte <laforge@gnumonks.org>
      ad0676cf
    • Florian Tobias Schandinat's avatar
      viafb: add lcd scaling support for some IGPs · f1ad752a
      Florian Tobias Schandinat authored
      viafb: add lcd scaling support for some IGPs
      
      These IGPs should also support lcd scaling but likely this switch was
      missed when adding support for them. Fix it, allowing lcd scaling on
      CN750, VX800 and VX855. At least this improves the situation for
      VX855. (there seems to be another scaling unrelated bug somewhere)
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      f1ad752a
    • Florian Tobias Schandinat's avatar
      viafb: improve lcd code readability · 119b953a
      Florian Tobias Schandinat authored
      viafb: improve lcd code readability
      
      This changes the code to better reflect that we can (currently) only
      perform upscaling.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      119b953a
    • Florian Tobias Schandinat's avatar
      viafb: remove duplicated scaling code · 4a73d70e
      Florian Tobias Schandinat authored
      viafb: remove duplicated scaling code
      
      The code for P4M900 does the same as for all newer IGPs so there is no
      reason to duplicate it. Just reducing the code to maintain.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      4a73d70e
    • Florian Tobias Schandinat's avatar
      MAINTAINERS: update viafb entry · c7babebd
      Florian Tobias Schandinat authored
      MAINTAINERS: update viafb entry
      
      List the files that got recently moved to include/linux.
      Add myself as a maintainer and remove Scott as his email address is
      no longer valid and he has shown no interest in maintaining viafb.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Harald Welte <laforge@gnumonks.org>
      c7babebd
  2. 22 Jul, 2010 18 commits
  3. 21 Jul, 2010 14 commits