Skip to content
Snippets Groups Projects
  1. Dec 03, 2009
  2. Dec 02, 2009
  3. Dec 01, 2009
  4. Nov 30, 2009
    • Chris Wilson's avatar
      intel: Clear bo->used_as_reloc_target flag on destroy · b666f415
      Chris Wilson authored
      
      This allows us to keep the assert added in the previous commit that we do
      not modify the tree_reloc_size after inserting the buffer into a relocation
      tree, which was being hit here:
      
        #0  0xb78c2424 in __kernel_vsyscall ()
        #1  0xb74f6401 in raise () from /lib/libc.so.6
        #2  0xb74f7b42 in abort () from /lib/libc.so.6
        #3  0xb74ef5a8 in __assert_fail () from /lib/libc.so.6
        #4  0xb737e78b in drm_intel_bo_gem_set_in_aperture_size (bufmgr_gem=<value optimized out>, bo_gem=0x6) at intel_bufmgr_gem.c:373
        #5  0xb737f519 in drm_intel_gem_bo_set_tiling (bo=0xa1030a0, tiling_mode=0xbff6c85c, stride=0) at intel_bufmgr_gem.c:1386
        #6  0xb737f67f in drm_intel_gem_bo_unreference_final (bo=0xa1030a0, time=<value optimized out>) at intel_bufmgr_gem.c:768
        #7  0xb737f5e3 in drm_intel_gem_bo_unreference_locked_timed (bo=0xa1e50d0, time=<value optimized out>) at intel_bufmgr_gem.c:805
        #8  drm_intel_gem_bo_unreference_final (bo=0xa1e50d0, time=<value optimized out>) at intel_bufmgr_gem.c:756
        #9  0xb737fcbb in drm_intel_gem_bo_unreference (bo=0xa1e50d0) at intel_bufmgr_gem.c:821
        #10 0xb737b4e6 in drm_intel_bo_unreference (bo=0x0) at intel_bufmgr.c:80
        #11 0xb7325625 in intel_batch_flush (scrn=0x9d91f78, flush=1) at i830_batchbuffer.c:200
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      b666f415
    • Chris Wilson's avatar
      intel: Apply pessimistic alignment to in-aperture buffer size · e22fb797
      Chris Wilson authored
      
      For the older chipsets, i.e. pre-i965, which have severe alignment
      restrictions for tiled buffers we need to pessimistically assume that we
      will waste the size of buffer to meet those alignment constraints.
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      e22fb797
    • Chris Wilson's avatar
      intel: Only store a buffer in the cache if it is retained. · 60aa803d
      Chris Wilson authored
      
      If the kernel immediately frees the backing store for a buffer when
      marking it purgeable, then there is not point adding to the cache. Free
      it immediately, instead.
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      60aa803d
  5. Nov 25, 2009
  6. Nov 24, 2009
  7. Nov 23, 2009
  8. Nov 21, 2009
  9. Nov 20, 2009
  10. Nov 18, 2009
  11. Nov 17, 2009
  12. Nov 15, 2009
  13. Nov 11, 2009
  14. Nov 05, 2009
  15. Nov 04, 2009
Loading