1. 04 2月, 2019 1 次提交
  2. 06 11月, 2018 7 次提交
  3. 28 8月, 2018 1 次提交
  4. 15 3月, 2018 3 次提交
  5. 27 2月, 2018 4 次提交
  6. 20 2月, 2018 2 次提交
  7. 28 12月, 2017 3 次提交
  8. 16 12月, 2017 1 次提交
  9. 07 12月, 2017 6 次提交
  10. 18 8月, 2017 1 次提交
  11. 26 7月, 2017 1 次提交
  12. 16 5月, 2017 1 次提交
  13. 05 4月, 2017 1 次提交
  14. 30 3月, 2017 1 次提交
  15. 17 2月, 2017 1 次提交
    • N
      drm/ttm: make TTM_MAX_BO_PRIORITY unsigned · 5187b6cd
      Nicolai Hähnle 提交于
      Fix a warning about different types in min() macro in amdgpu:
      
      In file included from ./include/linux/list.h:8:0,
                       from drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:32:
      drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function ‘amdgpu_bo_create_restricted’:
      ./include/linux/kernel.h:739:16: warning: comparison of distinct pointer types lacks a cast
        (void) (&min1 == &min2);   \
                      ^
      ./include/linux/kernel.h:742:2: note: in expansion of macro ‘__min’
        __min(typeof(x), typeof(y),   \
        ^~~~~
      drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:434:21: note: in expansion of macro ‘min’
        bo->tbo.priority = min(bo->tbo.priority, TTM_MAX_BO_PRIORITY - 1);
                           ^~~
      Signed-off-by: NNicolai Hähnle <nicolai.haehnle@amd.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      5187b6cd
  16. 28 1月, 2017 4 次提交
  17. 14 1月, 2017 1 次提交
    • P
      locking/atomic, kref: Add kref_read() · 2c935bc5
      Peter Zijlstra 提交于
      Since we need to change the implementation, stop exposing internals.
      
      Provide kref_read() to read the current reference count; typically
      used for debug messages.
      
      Kills two anti-patterns:
      
      	atomic_read(&kref->refcount)
      	kref->refcount.counter
      Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      2c935bc5
  18. 26 10月, 2016 1 次提交