1. 08 7月, 2016 15 次提交
  2. 14 6月, 2016 1 次提交
  3. 09 6月, 2016 1 次提交
  4. 12 5月, 2016 9 次提交
  5. 05 5月, 2016 6 次提交
  6. 03 5月, 2016 3 次提交
  7. 10 3月, 2016 4 次提交
  8. 09 3月, 2016 1 次提交
    • C
      drm/amdgpu: move get_user_pages out of amdgpu_ttm_tt_pin_userptr v6 · 2f568dbd
      Christian König 提交于
      That avoids lock inversion between the BO reservation lock
      and the anon_vma lock.
      
      v2:
      * Changed amdgpu_bo_list_entry.user_pages to an array of pointers
      * Lock mmap_sem only for get_user_pages
      * Added invalidation of unbound userpointer BOs
      * Fixed memory leak and page reference leak
      
      v3 (chk):
      * Revert locking mmap_sem only for_get user_pages
      * Revert adding invalidation of unbound userpointer BOs
      * Sanitize and fix error handling
      
      v4 (chk):
      * Init userpages pointer everywhere.
      * Fix error handling when get_user_pages() fails.
      * Add invalidation of unbound userpointer BOs again.
      
      v5 (chk):
      * Add maximum number of tries.
      
      v6 (chk):
      * Fix error handling when we run out of tries.
      Signed-off-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> (v4)
      Acked-by: NAlex Deucher <alexander.deucher@amd.com>
      2f568dbd