Lines Matching defs:userptr
735 uint64_t userptr;
758 unsigned long start = gtt->userptr;
857 * amdgpu_ttm_tt_unpin_userptr - Unpin and unmap userptr pages
945 if (gtt->userptr) {
948 dev_err(adev->dev, "failed to pin userptr\n");
1071 /* if the pages have userptr pinning then clear that first */
1072 if (gtt->userptr) {
1241 if (gtt->userptr) {
1281 if (gtt->userptr) {
1305 * amdgpu_ttm_tt_get_userptr - Return the userptr GTT ttm_tt for the current
1308 * @tbo: The ttm_buffer_object that contains the userptr
1320 *user_addr = gtt->userptr;
1325 * amdgpu_ttm_tt_set_userptr - Initialize userptr GTT ttm_tt for the current
1328 * @bo: The ttm_buffer_object to bind this userptr to
1330 * @flags: Requirements of userptr object.
1333 * bind userptr pages to current task and by kfd_ioctl_acquire_vm() to
1352 gtt->userptr = addr;
1385 unsigned long end, unsigned long *userptr)
1390 if (gtt == NULL || !gtt->userptr)
1397 if (gtt->userptr > end || gtt->userptr + size <= start)
1400 if (userptr)
1401 *userptr = gtt->userptr;
1406 * amdgpu_ttm_tt_is_userptr - Have the pages backing by userptr?
1412 if (gtt == NULL || !gtt->userptr)