1. 05 8月, 2011 1 次提交
  2. 27 3月, 2011 1 次提交
  3. 24 3月, 2011 1 次提交
  4. 23 3月, 2011 2 次提交
  5. 17 3月, 2011 1 次提交
  6. 12 3月, 2011 1 次提交
  7. 24 10月, 2010 1 次提交
    • F
      viafb: add initial VX900 support · 51f4332b
      Florian Tobias Schandinat 提交于
      This patch adds basic support for the new VX900 IGP. Almost everything
      that was implemented for other IGPs is expected to work also on VX900
      after this patch. The only known issue is that on the CRT output mode
      setting does not always work.
      It is clear that the possibility for regressions is zero.
      
      A big thanks to VIA Technologies for making this possible and
      supporting this work.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      Cc: Jonathan Corbet <corbet@lwn.net>
      51f4332b
  8. 24 9月, 2010 7 次提交
    • F
      viafb: rename output devices · a2aa9f9f
      Florian Tobias Schandinat 提交于
      Now it looks like we finally know enough about the output devices to give
      them proper names. As VIA_96 is often referred to as DVP0 rename it to
      VIA_DVP0. As VIA_6C and VIA_93 seem to exist only on CLE266 and "replace"
      DVP0 and DVP1 there rename them to VIA_LDVP0 and VIA_LDVP1 (L as legacy).
      The proc names were changed accordingly which should be harmless as they
      were just introduced and not beyond RFC state.
      This patch should make things a bit more comfortable and less scary.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Acked-by: NJonathan Corbet <corbet@lwn.net>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      a2aa9f9f
    • F
      viafb: add function to change sync polarity per device · 7f0e153e
      Florian Tobias Schandinat 提交于
      At the moment only the sync polarity for CRT is handled but there are
      also bits for controlling the sync polarity for other output devices.
      Add a function to change those similar to the other output device
      functions.
      There is no runtime change yet as the code still handles only CRT.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      7f0e153e
    • F
      viafb: introduce per output device power management · 6f9422d4
      Florian Tobias Schandinat 提交于
      This patch moves common parts of dvi.c, lcd.c and vt1636.c to hw.c to
      start a per output device power management. There should be no runtime
      changes aside that this patch enables the proc interface to enable/disable
      devices when needed which greatly increases the chances that changes to
      the output device configuration will work. However the power management is
      not yet complete so it might fail on some configurations. As this area is
      quite complex and touches undocumented things there is a slight chance of
      regressions.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      6f9422d4
    • F
      viafb: add interface for output device configuration · 2a918392
      Florian Tobias Schandinat 提交于
      This patch extends the proc entry to contain a possibility to view and
      change the output devices for each IGA. This is useful for debugging
      output problems as it provides a reliable way to query which low level
      devices are active after VIAs output device configuration nightmare
      happended. It's as well suitable for daily use as one can change the
      output configuration on the fly for example to connect a projector.
      At the moment it's still unstable. The reason is that we have to handle
      a bunch of undocumented output devices (those without a proper name) and
      that this patch is the first step to collect and verify the needed
      information. Basically the only configuration change that is expected to
      work at the moment is switching output devices between IGA1 and IGA2.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Acked-by: NJonathan Corbet <corbet@lwn.net>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      2a918392
    • F
      viafb: merge the remaining output path with enable functions · cd7e9103
      Florian Tobias Schandinat 提交于
      This patch merges the remaining functionality of the output path
      function in the associated enabling functions. This is very natural as
      most of the remaining code does actually enable the device.
      Just some more or less intelligent code merge. If no stupid mistakes
      occured there should be no regressions.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      cd7e9103
    • F
      viafb: add new output device management · 18d9dc08
      Florian Tobias Schandinat 提交于
      This patch adds a new output device management that stores for each
      IGA which output devices are routed to it and a compatiblity layer
      that converts the old per-output device values in the new format.
      Bounding the output devices to each IGA is a central idea of the
      cleanup. Doing it this way should be easier and make much more sense
      than the old format which happily mixed different output devices
      together and did not even take into account that some devices are no
      longer available on newer chipsets.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      18d9dc08
    • F
      viafb: propagate __init and __devinit · f4ab2f7a
      Florian Tobias Schandinat 提交于
      There are a lot of init functions which are not marked as such.
      Fix this.
      Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      f4ab2f7a
  9. 23 7月, 2010 1 次提交
    • F
      viafb: PLL value cleanup · 1f844350
      Florian Tobias Schandinat 提交于
      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: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Joseph Chan <JosephChan@via.com.tw>
      1f844350
  10. 12 5月, 2010 1 次提交
  11. 08 5月, 2010 4 次提交
  12. 21 4月, 2010 1 次提交
    • H
      viafb: use proper pci config API · b72a5070
      Harald Welte 提交于
      This patch alters viafb to use the proper Linux in-kernel API to access
      PCI configuration space, rather than poking at I/O ports by itself.
      
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: ScottFang@viatech.com.cn
      Cc: JosephChan@via.com.tw
      Signed-off-by: NHarald Welte <HaraldWelte@viatech.com>
      b72a5070
  13. 13 3月, 2010 4 次提交
  14. 23 9月, 2009 6 次提交
  15. 17 10月, 2008 1 次提交