1. 03 May, 2012 2 commits
    • Chris Wilson's avatar
      drm/i915: Clarify the semantics of tiling_changed · 5d82e3e6
      Chris Wilson authored
      
      
      Rename obj->tiling_changed to obj->fence_dirty so that it is clear that
      it flags when the parameters for an active fence (including the
      no-fence) register are changed.
      
      Also, do not set this flag when the object does not have a fence
      register allocated currently and the gpu does not depend upon the
      unfence. This case works exactly like when a tiled object lost its
      fence and hence does not need additional handling for the tiling
      change in the code.
      
      v2: Use fence_dirty to better express what the flag tracks and add a few
      more details to the comments to serve as a reminder of how the GPU also
      uses the unfenced register slot.
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      [danvet: Add some bikeshed to the commit message about the stricter
      use of fence_dirty.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      5d82e3e6
    • Ben Widawsky's avatar
      drm/i915: [sparse] __iomem fixes for gem · 4f0c7cfb
      Ben Widawsky authored
      
      
      As with one of the earlier patches in the series, we're forced to cast
      for copy_[to|from]_user. Again because of the nature of the GEN x86
      exclusivity, this should be safe.
      Signed-off-by: default avatarBen Widawsky <benjamin.widawsky@intel.com>
      [danvet: Added some bikeshed.]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      4f0c7cfb
  2. 18 Apr, 2012 10 commits
  3. 17 Apr, 2012 2 commits
  4. 15 Apr, 2012 1 commit
    • Daniel Vetter's avatar
      drm/i915: don't pwrite tiled objects through the gtt · c07496fa
      Daniel Vetter authored
      ... we will botch up the bit17 swizzling. Furthermore tiled pwrite is
      a (now) unused slowpath, so no one really cares.
      
      This fixes the last swizzling issues I have with i-g-t on my bit17
      swizzling i915G. No regression, it's been broken since the dawn of
      gem, but it's nice for regression tracking when really _all_ i-g-t
      tests work.
      
      Actually this is not true, Chris Wilson noticed while reviewing this
      patch that the commit
      
      commit d9e86c0e
      
      
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Wed Nov 10 16:40:20 2010 +0000
      
          drm/i915: Pipelined fencing [infrastructure]
      
      contained a functional change that broke things.
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      c07496fa
  5. 12 Apr, 2012 7 commits
  6. 09 Apr, 2012 1 commit
  7. 01 Apr, 2012 2 commits
  8. 28 Mar, 2012 1 commit
  9. 27 Mar, 2012 14 commits