Lines Matching refs:userptr
680 uint64_t userptr;
702 unsigned long start = gtt->userptr;
752 if (gtt && gtt->userptr && range)
767 if (!gtt || !gtt->userptr || !range)
771 gtt->userptr, ttm->num_pages);
836 * amdgpu_ttm_tt_unpin_userptr - Unpin and unmap userptr pages
934 if (gtt->userptr) {
937 DRM_ERROR("failed to pin userptr\n");
1060 /* if the pages have userptr pinning then clear that first */
1061 if (gtt->userptr) {
1150 if (gtt->userptr) {
1190 if (gtt->userptr) {
1214 * amdgpu_ttm_tt_get_userptr - Return the userptr GTT ttm_tt for the current
1217 * @tbo: The ttm_buffer_object that contains the userptr
1229 *user_addr = gtt->userptr;
1234 * amdgpu_ttm_tt_set_userptr - Initialize userptr GTT ttm_tt for the current
1237 * @bo: The ttm_buffer_object to bind this userptr to
1239 * @flags: Requirements of userptr object.
1242 * bind userptr pages to current task and by kfd_ioctl_acquire_vm() to
1261 gtt->userptr = addr;
1294 unsigned long end, unsigned long *userptr)
1299 if (gtt == NULL || !gtt->userptr)
1306 if (gtt->userptr > end || gtt->userptr + size <= start)
1309 if (userptr)
1310 *userptr = gtt->userptr;
1315 * amdgpu_ttm_tt_is_userptr - Have the pages backing by userptr?
1321 if (gtt == NULL || !gtt->userptr)