1. 08 Jan, 2014 1 commit
    • Rashika Kheria's avatar
      drivers: gpu: Mark functions as static in vmwgfx_buffer.c · 8227622f
      Rashika Kheria authored
      
      Mark functions as static because they are not used outside the file
      drm/vmwgfx/vmwgfx_buffer.c.
      
      This eliminates the following warnings in drm/vmwgfx/vmwgfx_buffer.c:
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:520:16: warning: no previous prototype for ‘vmw_ttm_tt_create’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:549:5: warning: no previous prototype for ‘vmw_invalidate_caches’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:554:5: warning: no previous prototype for ‘vmw_init_mem_type’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c:592:6: warning: no previous prototype for ‘vmw_evict_flags’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: default avatarJakob Bornecrantz <jakob@vmware.com>
      8227622f
  2. 04 Dec, 2013 1 commit
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Fix dma buffer memory size accounting · 308d17ef
      Thomas Hellstrom authored
      
      Also request kernel ttm_buffer objects for buffer objects that obviously
      aren't visible to user-space, and save some device address space.
      
      The accounting was broken in a couple of ways:
      1) We did not differentiate between user dma buffers and kernel dma buffers.
      2) The ttm_bo_acc_size function is broken in that it
      a) Doesn't take into account the size of the optional dma address array,
      b) Doesn't take into account the fact that drivers typically embed the
      ttm_tt structure.
      
      This needs to be fixed in ttm, but meanwhile provide a vmwgfx-specific
      function to do the job.
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarJakob Bornecrantz <jakob@vmware.com>
      308d17ef
  3. 06 Nov, 2013 1 commit
  4. 28 Nov, 2012 1 commit
  5. 20 Nov, 2012 2 commits
  6. 02 Oct, 2012 1 commit
  7. 06 Dec, 2011 3 commits
  8. 05 Oct, 2011 2 commits
  9. 06 Sep, 2011 2 commits
  10. 27 Jan, 2011 1 commit
  11. 27 Oct, 2010 1 commit
  12. 05 Oct, 2010 1 commit
  13. 20 Apr, 2010 2 commits
  14. 25 Jan, 2010 1 commit
  15. 14 Jan, 2010 2 commits
  16. 14 Dec, 2009 1 commit