Skip to content
  1. Aug 10, 2012
  2. Aug 09, 2012
  3. Aug 08, 2012
    • Chris Wilson's avatar
      drm/i915: Add I915_GEM_PARAM_HAS_SEMAPHORES · 2fedbff9
      Chris Wilson authored
      
      
      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: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      2fedbff9
    • Chris Wilson's avatar
      drm/i915: Only apply the SNB pipe control w/a to gen6 · 6c6cf5aa
      Chris Wilson authored
      
      
      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: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      6c6cf5aa
  4. Jul 27, 2012
  5. Jul 26, 2012