1. 19 10月, 2010 1 次提交
    • C
      drm/i915: Avoid vmallocing a buffer for the relocations · 2549d6c2
      Chris Wilson 提交于
      ... perform an access validation check up front instead and copy them in
      on-demand, during i915_gem_object_pin_and_relocate(). As around 20% of
      the CPU overhead may be spent inside vmalloc for the relocation entries
      when submitting an execbuffer [for x11perf -aa10text], the savings are
      considerable and result in around a 10% throughput increase [for glyphs].
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      2549d6c2
  2. 08 10月, 2010 1 次提交
    • C
      drm/i915: Wait for pending flips on the GPU · e59f2bac
      Chris Wilson 提交于
      Currently, if a batch buffer refers to an object with a pending flip,
      then we sleep until that pending flip is completed (unpinned and
      signalled). This is so that a flip can be queued and the user can
      continue rendering to the backbuffer oblivious to whether the buffer is
      still pinned as the scan out. (The kernel arbitrating at the last moment
      to stall the batch and wait until the buffer is unpinned and replaced as
      the front buffer.)
      
      As we only have a queue depth of 1, we can simply wait for the current
      pending flip to complete and continue rendering. We can achieve this
      with a single WAIT_FOR_EVENT command inserted into the ring buffer prior
      to executing the batch, *without* stalling the client.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      e59f2bac
  3. 04 10月, 2010 1 次提交
  4. 03 10月, 2010 2 次提交
  5. 02 10月, 2010 2 次提交
  6. 01 10月, 2010 4 次提交
  7. 30 9月, 2010 3 次提交
  8. 29 9月, 2010 3 次提交
  9. 28 9月, 2010 1 次提交
  10. 27 9月, 2010 1 次提交
  11. 26 9月, 2010 1 次提交
  12. 25 9月, 2010 3 次提交
  13. 24 9月, 2010 1 次提交
  14. 23 9月, 2010 2 次提交
  15. 22 9月, 2010 2 次提交
  16. 21 9月, 2010 12 次提交