1. 10 8月, 2012 13 次提交
  2. 09 8月, 2012 1 次提交
  3. 08 8月, 2012 2 次提交
    • C
      drm/i915: Add I915_GEM_PARAM_HAS_SEMAPHORES · 2fedbff9
      Chris Wilson 提交于
      Userspace tries to estimate the cost of ring switching based on whether
      the GPU and GEM supports semaphores. (If we have multiple rings and no
      semaphores, userspace assumes that the cost of switching rings between
      batches is exorbitant and will endeavour to keep the next batch on the
      active ring - as a coarse approximation to tracking both destination and
      source surfaces.) Currently userspace has to guess whether semaphores
      exist based on the chipset generation and the module parameter,
      i915.semaphores. This is a crude and inaccurate guess as the defaults
      internally depend upon other chipset features being enabled or disabled,
      nor does it extend well into the future. By exporting a HAS_SEMAPHORES
      parameter, we can easily query the driver and obtain an accurate answer.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      2fedbff9
    • C
      drm/i915: Only apply the SNB pipe control w/a to gen6 · 6c6cf5aa
      Chris Wilson 提交于
      The requirements for the sync flush to be emitted prior to the render
      cache flush is only true for SandyBridge. On IvyBridge and friends we
      can just emit the flushes with an inline CS stall.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      6c6cf5aa
  4. 27 7月, 2012 1 次提交
  5. 26 7月, 2012 23 次提交