1. 02 11月, 2015 1 次提交
  2. 13 8月, 2015 1 次提交
  3. 05 8月, 2015 1 次提交
  4. 19 1月, 2015 1 次提交
    • T
      drm/vmwgfx: Replace the hw mutex with a hw spinlock · 496eb6fd
      Thomas Hellstrom 提交于
      Fixes a case where we call vmw_fifo_idle() from within a wait function with
      task state !TASK_RUNNING, which is illegal.
      
      In addition, make the locking fine-grained, so that it is performed once
      for every read- and write operation. This is of course more costly, but we
      don't perform much register access in the timing critical paths anyway. Instead
      we have the extra benefit of being sure that we don't forget the hw lock around
      register accesses. I think currently the kms code was quite buggy w r t this.
      
      This fixes Red Hat Bugzilla Bug 1180796
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NJakob Bornecrantz <jakob@vmware.com>
      496eb6fd
  5. 03 12月, 2014 2 次提交
  6. 02 9月, 2014 2 次提交
  7. 08 1月, 2014 2 次提交
    • 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
    • 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
  8. 28 11月, 2012 1 次提交
  9. 03 10月, 2012 1 次提交
  10. 26 9月, 2012 1 次提交
  11. 13 2月, 2012 2 次提交
  12. 18 10月, 2011 1 次提交
  13. 10 10月, 2011 1 次提交
  14. 05 10月, 2011 1 次提交
  15. 06 9月, 2011 2 次提交
  16. 01 6月, 2010 1 次提交