1. 15 3月, 2010 1 次提交
  2. 09 2月, 2010 3 次提交
  3. 01 2月, 2010 2 次提交
    • D
      drm/kms/radeon: pick digitial encoders smarter. (v3) · f28cf339
      Dave Airlie 提交于
      booting a Lenovo W500 with LVDS + DP outputs showed up a TODO we had
      on our list, to pick a correct digital encoder block. The LVTMA
      encoder requires the second digital encoder, all others can use any
      encoder at all.
      
      This fixes the digital encoder selection logic to enable LVDS/DP combos
      to work okay.
      
      V2: fix silly addition of connector dig_block and cleanup the other
      places in the code that pick the encoder.
      
      V3: rename to dig_encoder and clean up further - also fix
      the picking algorithm.
      
      tested on Lenovo W500 + desktop 3650 cards.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f28cf339
    • D
      drm/radeon/kms: use active device to pick connector for encoder · 43c33ed8
      Dave Airlie 提交于
      On the W500 we have UNIPHY routed to both DVI and DP, this seems
      to always pick the DVI connector which means link training fails.
      
      Switch to using active device to pick the connector, this seems
      like it should be safe from a code review, and it fixes things
      a bit more here.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      43c33ed8
  4. 08 1月, 2010 2 次提交
  5. 23 12月, 2009 2 次提交
  6. 16 12月, 2009 1 次提交
  7. 08 12月, 2009 5 次提交
  8. 02 12月, 2009 4 次提交
  9. 06 11月, 2009 2 次提交
  10. 16 10月, 2009 2 次提交
  11. 15 10月, 2009 1 次提交
  12. 13 10月, 2009 1 次提交
  13. 12 10月, 2009 2 次提交
  14. 05 10月, 2009 1 次提交
  15. 18 9月, 2009 1 次提交
    • D
      drm/radeon/kms: add initial connector properties · 445282db
      Dave Airlie 提交于
      This adds:
      coherent mode: TMDS coherent mode for atom cards.
      scaling mode: LVDS scaler mode
      load detect: DAC load detection, DVI-I, VGA, TV
      tmds pll: legacy TMDS pll selection
      tv standard: TV standard selection.
      
      for later: other TV ones? dvi subconnector selection using std prop
      
      [contains fixes pointed out on dri-devel for atom bios mixups
       by Michel]
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      445282db
  16. 11 9月, 2009 1 次提交
  17. 09 9月, 2009 1 次提交
  18. 08 9月, 2009 2 次提交
  19. 29 7月, 2009 1 次提交
  20. 15 7月, 2009 1 次提交
  21. 15 6月, 2009 1 次提交
    • J
      drm/radeon: introduce kernel modesetting for radeon hardware · 771fe6b9
      Jerome Glisse 提交于
      Add kernel modesetting support to radeon driver, use the ttm memory
      manager to manage memory and DRM/GEM to provide userspace API.
      In order to avoid backward compatibility issue and to allow clean
      design and code the radeon kernel modesetting use different code path
      than old radeon/drm driver.
      
      When kernel modesetting is enabled the IOCTL of radeon/drm
      driver are considered as invalid and an error message is printed
      in the log and they return failure.
      
      KMS enabled userspace will use new API to talk with the radeon/drm
      driver. The new API provide functions to create/destroy/share/mmap
      buffer object which are then managed by the kernel memory manager
      (here TTM). In order to submit command to the GPU the userspace
      provide a buffer holding the command stream, along this buffer
      userspace have to provide a list of buffer object used by the
      command stream. The kernel radeon driver will then place buffer
      in GPU accessible memory and will update command stream to reflect
      the position of the different buffers.
      
      The kernel will also perform security check on command stream
      provided by the user, we want to catch and forbid any illegal use
      of the GPU such as DMA into random system memory or into memory
      not owned by the process supplying the command stream. This part
      of the code is still incomplete and this why we propose that patch
      as a staging driver addition, future security might forbid current
      experimental userspace to run.
      
      This code support the following hardware : R1XX,R2XX,R3XX,R4XX,R5XX
      (radeon up to X1950). Works is underway to provide support for R6XX,
      R7XX and newer hardware (radeon from HD2XXX to HD4XXX).
      
      Authors:
          Jerome Glisse <jglisse@redhat.com>
          Dave Airlie <airlied@redhat.com>
          Alex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NAlex Deucher <alexdeucher@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      771fe6b9