1. 05 2月, 2014 2 次提交
  2. 21 1月, 2014 1 次提交
  3. 17 1月, 2014 32 次提交
  4. 08 1月, 2014 4 次提交
    • R
      drivers: gpu: Mark functions as static in vmwgfx_fence.c · 94844cf0
      Rashika Kheria 提交于
      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: NRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      94844cf0
    • R
      drivers: gpu: Mark functions as static in vmwgfx_buffer.c · 8227622f
      Rashika Kheria 提交于
      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: NRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      8227622f
    • R
      drivers: gpu: Mark functions as static in vmwgfx_kms.c · 847c5964
      Rashika Kheria 提交于
      Mark functions as static because they are not used outside the file
      drm/vmwgfx/vmwgfx_kms.c.
      
      This eliminates the following warnings in drm/vmwgfx/vmwgfx_kms.c:
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:43:6: warning: no previous prototype for ‘vmw_clip_cliprects’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:426:6: warning: no previous prototype for ‘vmw_framebuffer_surface_destroy’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:592:5: warning: no previous prototype for ‘vmw_framebuffer_surface_dirty’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:757:6: warning: no previous prototype for ‘vmw_framebuffer_dmabuf_destroy’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:943:5: warning: no previous prototype for ‘vmw_framebuffer_dmabuf_dirty’ [-Wmissing-prototypes]
      drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:1666:5: warning: no previous prototype for ‘vmw_du_update_layout’ [-Wmissing-prototypes]
      Signed-off-by: NRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      847c5964
    • T
      drm/ttm: ttm object security fixes for render nodes · 05efb1ab
      Thomas Hellstrom 提交于
      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: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NBrian Paul <brianp@vmware.com>
      05efb1ab
  5. 18 12月, 2013 1 次提交