1. 08 Jan, 2014 2 commits
    • Rashika Kheria's avatar
      drivers: gpu: Mark functions as static in vmwgfx_fence.c · 94844cf0
      Rashika Kheria authored
      
      Mark functions as static because they are not used outside the file
      drm/vmwgfx/vmwgfx_fence.c.
      
      This eliminates the following warnings in drm/vmwgfx/vmwgfx_fence.c:
      drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:274:6: warning: no previous prototype for ‘vmw_fences_perform_actions’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:900:6: warning: no previous prototype for ‘vmw_fence_obj_add_action’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:996:5: warning: no previous prototype for ‘vmw_event_fence_action_create’ [-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>
      94844cf0
    • Thomas Hellstrom's avatar
      drm/ttm: ttm object security fixes for render nodes · 05efb1ab
      Thomas Hellstrom authored
      
      When a client looks up a ttm object, don't look it up through the device hash
      table, but rather from the file hash table. That makes sure that the client
      has indeed put a reference on the object, or in gem terms, has opened
      the object; either using prime or using the global "name".
      
      To avoid a performance loss, make sure the file hash table entries can be
      looked up from under an RCU lock, and as a consequence, replace the rwlock
      with a spinlock, since we never need to take it in read mode only anymore.
      
      Finally add a ttm object lookup function for the device hash table, that is
      intended to be used when we put a ref object on a base object or, in  gem terms,
      when we open the object.
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      05efb1ab
  2. 28 Nov, 2012 1 commit
  3. 02 Oct, 2012 1 commit
  4. 26 Sep, 2012 1 commit
  5. 13 Feb, 2012 2 commits
  6. 18 Oct, 2011 1 commit
  7. 10 Oct, 2011 1 commit
  8. 05 Oct, 2011 1 commit
  9. 06 Sep, 2011 2 commits
  10. 31 May, 2010 1 commit