Home
last modified time | relevance | path

Searched refs:usermm (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.c108 struct mm_struct *usermm; in amdgpu_bo_list_set() local
119 usermm = amdgpu_ttm_tt_get_usermm(bo->tbo.ttm); in amdgpu_bo_list_set()
120 if (usermm) { in amdgpu_bo_list_set()
121 if (usermm != current->mm) { in amdgpu_bo_list_set()
Damdgpu_cs.c462 struct mm_struct *usermm; in amdgpu_cs_list_validate() local
464 usermm = amdgpu_ttm_tt_get_usermm(bo->tbo.ttm); in amdgpu_cs_list_validate()
465 if (usermm && usermm != current->mm) in amdgpu_cs_list_validate()
Damdgpu_ttm.c550 struct mm_struct *usermm; member
574 vma = find_vma(gtt->usermm, gtt->userptr); in amdgpu_ttm_tt_get_user_pages()
923 gtt->usermm = current->mm; in amdgpu_ttm_tt_set_userptr()
939 return gtt->usermm; in amdgpu_ttm_tt_get_usermm()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c535 struct mm_struct *usermm; member
551 if (current->mm != gtt->usermm) in radeon_ttm_tt_pin_userptr()
559 vma = find_vma(gtt->usermm, gtt->userptr); in radeon_ttm_tt_pin_userptr()
835 gtt->usermm = current->mm; in radeon_ttm_tt_set_userptr()