Lines Matching defs:userptr
220 * Virtual address of the buffer allocated by user, used for userptr
263 * Boolean of whether this buffer was allocated with userptr
901 struct drm_i915_gem_userptr userptr;
903 /* Tiling with userptr surfaces is not supported
918 memclear(userptr);
919 userptr.user_ptr = (__u64)((unsigned long)addr);
920 userptr.user_size = size;
921 userptr.flags = flags;
925 &userptr);
936 bo_gem->gem_handle = userptr.handle;
975 struct drm_i915_gem_userptr userptr;
982 DBG("Failed to get a page (%ld) for userptr detection!\n",
987 memclear(userptr);
988 userptr.user_ptr = (__u64)(unsigned long)ptr;
989 userptr.user_size = pgsz;
992 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr);
994 if (errno == ENODEV && userptr.flags == 0) {
995 userptr.flags = I915_USERPTR_UNSYNCHRONIZED;
1002 /* We don't release the userptr bo here as we want to keep the
1004 * create a userptr object the kernel has to install a mmu_notifer
1010 bufmgr_gem->userptr_active.handle = userptr.handle;
1985 /* Release userptr bo kept hanging around for optimisation. */
1992 "Failed to release test userptr object! (%d) "
2530 /* Tiling with userptr surfaces is not supported