1. 22 11月, 2010 1 次提交
    • T
      drm/ttm/radeon/nouveau: Kill the bo lock in favour of a bo device fence_lock · 702adba2
      Thomas Hellstrom 提交于
      The bo lock used only to protect the bo sync object members, and since it
      is a per bo lock, fencing a buffer list will see a lot of locks and unlocks.
      Replace it with a per-device lock that protects the sync object members on
      *all* bos. Reading and setting these members will always be very quick, so
      the risc of heavy lock contention is microscopic. Note that waiting for
      sync objects will always take place outside of this lock.
      
      The bo device fence lock will eventually be replaced with a seqlock /
      rcu mechanism so we can determine that a bo is idle under a
      rcu / read seqlock.
      
      However this change will allow us to batch fencing and unreserving of
      buffers with a minimal amount of locking.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NJerome Glisse <j.glisse@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      702adba2
  2. 19 11月, 2010 2 次提交
  3. 18 11月, 2010 11 次提交
  4. 15 11月, 2010 2 次提交
  5. 10 11月, 2010 1 次提交
  6. 09 11月, 2010 7 次提交
  7. 28 10月, 2010 3 次提交
  8. 27 10月, 2010 1 次提交
  9. 26 10月, 2010 8 次提交
  10. 25 10月, 2010 1 次提交
  11. 19 10月, 2010 3 次提交