Lines Matching defs:userptr
658 uint64_t userptr;
680 unsigned long start = gtt->userptr;
730 if (gtt && gtt->userptr && range)
745 if (!gtt || !gtt->userptr || !range)
749 gtt->userptr, ttm->num_pages);
818 * amdgpu_ttm_tt_unpin_userptr - Unpin and unmap userptr pages
920 if (gtt->userptr) {
923 DRM_ERROR("failed to pin userptr\n");
1055 /* if the pages have userptr pinning then clear that first */
1056 if (gtt->userptr) {
1151 if (gtt->userptr) {
1194 if (gtt->userptr) {
1222 * amdgpu_ttm_tt_get_userptr - Return the userptr GTT ttm_tt for the current
1225 * @tbo: The ttm_buffer_object that contains the userptr
1237 *user_addr = gtt->userptr;
1242 * amdgpu_ttm_tt_set_userptr - Initialize userptr GTT ttm_tt for the current
1245 * @bo: The ttm_buffer_object to bind this userptr to
1247 * @flags: Requirements of userptr object.
1250 * bind userptr pages to current task and by kfd_ioctl_acquire_vm() to
1269 gtt->userptr = addr;
1309 unsigned long end, unsigned long *userptr)
1314 if (gtt == NULL || !gtt->userptr)
1321 if (gtt->userptr > end || gtt->userptr + size <= start)
1324 if (userptr)
1325 *userptr = gtt->userptr;
1330 * amdgpu_ttm_tt_is_userptr - Have the pages backing by userptr?
1336 if (gtt == NULL || !gtt->userptr)