Home | History | Annotate | Download | only in intel

Lines Matching defs:userptr

215 	 * Virtual address of the buffer allocated by user, used for userptr
258 * Boolean of whether this buffer was allocated with userptr
945 struct drm_i915_gem_userptr userptr;
947 /* Tiling with userptr surfaces is not supported
959 memclear(userptr);
960 userptr.user_ptr = (__u64)((unsigned long)addr);
961 userptr.user_size = size;
962 userptr.flags = flags;
966 &userptr);
975 bo_gem->gem_handle = userptr.handle;
1014 struct drm_i915_gem_userptr userptr;
1021 DBG("Failed to get a page (%ld) for userptr detection!\n",
1026 memclear(userptr);
1027 userptr.user_ptr = (__u64)(unsigned long)ptr;
1028 userptr.user_size = pgsz;
1031 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr);
1033 if (errno == ENODEV && userptr.flags == 0) {
1034 userptr.flags = I915_USERPTR_UNSYNCHRONIZED;
1041 /* We don't release the userptr bo here as we want to keep the
1043 * create a userptr object the kernel has to install a mmu_notifer
1049 bufmgr_gem->userptr_active.handle = userptr.handle;
1909 /* Release userptr bo kept hanging around for optimisation. */
1917 "Failed to release test userptr object! (%d) "
2544 /* Tiling with userptr surfaces is not supported