1. 10 12月, 2015 1 次提交
  2. 07 12月, 2015 1 次提交
  3. 18 11月, 2015 2 次提交
  4. 29 10月, 2015 2 次提交
  5. 21 10月, 2015 2 次提交
  6. 19 10月, 2015 1 次提交
  7. 13 10月, 2015 2 次提交
  8. 07 10月, 2015 3 次提交
  9. 30 9月, 2015 11 次提交
  10. 14 9月, 2015 2 次提交
  11. 04 9月, 2015 1 次提交
  12. 14 8月, 2015 2 次提交
  13. 05 8月, 2015 1 次提交
  14. 15 7月, 2015 1 次提交
  15. 06 7月, 2015 1 次提交
  16. 03 7月, 2015 1 次提交
    • J
      drm/i915: Reserve space improvements · 79bbcc29
      John Harrison 提交于
      An earlier patch was added to reserve space in the ring buffer for the
      commands issued during 'add_request()'. The initial version was
      pessimistic in the way it handled buffer wrapping and would cause
      premature wraps and thus waste ring space.
      
      This patch updates the code to better handle the wrap case. It no
      longer enforces that the space being asked for and the reserved space
      are a single contiguous block. Instead, it allows the reserve to be on
      the far end of a wrap operation. It still guarantees that the space is
      available so when the wrap occurs, no wait will happen. Thus the wrap
      cannot fail which is the whole point of the exercise.
      
      Also fixed a merge failure with some comments from the original patch.
      
      v2: Incorporated suggestion by David Gordon to move the wrap code
      inside the prepare function and thus allow a single combined
      wait_for_space() call rather than doing one before the wrap and
      another after. This also makes the prepare code much simpler and
      easier to follow.
      
      v3: Fix for 'effective_size' vs 'size' during ring buffer remainder
      calculations (spotted by Tomas Elf).
      
      For: VIZ-5115
      CC: Daniel Vetter <daniel@ffwll.ch>
      Signed-off-by: NJohn Harrison <John.C.Harrison@Intel.com>
      Reviewed-by: NTomas Elf <tomas.elf@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      79bbcc29
  17. 23 6月, 2015 6 次提交