1. 05 2月, 2014 2 次提交
  2. 17 1月, 2014 12 次提交
  3. 28 6月, 2013 1 次提交
  4. 10 12月, 2012 1 次提交
    • M
      drm/ttm: remove no_wait_reserve, v3 · 97a875cb
      Maarten Lankhorst 提交于
      All items on the lru list are always reservable, so this is a stupid
      thing to keep. Not only that, it is used in a way which would
      guarantee deadlocks if it were ever to be set to block on reserve.
      
      This is a lot of churn, but mostly because of the removal of the
      argument which can be nested arbitrarily deeply in many places.
      
      No change of code in this patch except removal of the no_wait_reserve
      argument, the previous patch removed the use of no_wait_reserve.
      
      v2:
       - Warn if -EBUSY is returned on reservation, all objects on the list
         should be reservable. Adjusted patch slightly due to conflicts.
      v3:
       - Focus on no_wait_reserve removal only.
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@canonical.com>
      Reviewed-by: NThomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      97a875cb
  5. 21 11月, 2012 1 次提交
  6. 20 11月, 2012 1 次提交
  7. 03 10月, 2012 1 次提交
  8. 13 2月, 2012 1 次提交
  9. 28 10月, 2011 1 次提交
  10. 18 10月, 2011 1 次提交
  11. 10 10月, 2011 2 次提交
  12. 05 10月, 2011 7 次提交
  13. 06 9月, 2011 3 次提交
  14. 01 9月, 2011 2 次提交
    • T
      vmwgfx: Fix potential execbuf deadlocks · be38ab6e
      Thomas Hellstrom 提交于
      Perform all command stream validation in a bounce buffer separate from the
      fifo. This makes the fifo available to all validation-generated commands,
      which would otherwise attempt to grab the fifo recursively, causing a
      deadlock. This is in preparation for GMR2 and swappable surfaces.
      
      Also maintain references to all surfaces in the command stream until the
      command stream has been fired in order to avoid racing with surface
      destruction taking place after validation but before submission.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      be38ab6e
    • M
      drm/ttm: add a way to bo_wait for either the last read or last write · dfadbbdb
      Marek Olšák 提交于
      Sometimes we want to know whether a buffer is busy and wait for it (bo_wait).
      However, sometimes it would be more useful to be able to query whether
      a buffer is busy and being either read or written, and wait until it's stopped
      being either read or written. The point of this is to be able to avoid
      unnecessary waiting, e.g. if a GPU has written something to a buffer and is now
      reading that buffer, and a CPU wants to map that buffer for read, it needs to
      only wait for the last write. If there were no write, there wouldn't be any
      waiting needed.
      
      This, or course, requires user space drivers to send read/write flags
      with each relocation (like we have read/write domains in radeon, so we can
      actually use those for something useful now).
      
      Now how this patch works:
      
      The read/write flags should passed to ttm_validate_buffer. TTM maintains
      separate sync objects of the last read and write for each buffer, in addition
      to the sync object of the last use of a buffer. ttm_bo_wait then operates
      with one the sync objects.
      Signed-off-by: NMarek Olšák <maraeo@gmail.com>
      Reviewed-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      dfadbbdb
  15. 22 11月, 2010 1 次提交
  16. 09 11月, 2010 1 次提交
  17. 27 10月, 2010 1 次提交
  18. 08 6月, 2010 1 次提交