Lines Matching refs:submit_bo
90 struct drm_msm_gem_submit_bo submit_bo; in submit_lookup_objects() local
94 u64_to_user_ptr(args->bos + (i * sizeof(submit_bo))); in submit_lookup_objects()
101 ret = copy_from_user_inatomic(&submit_bo, userptr, sizeof(submit_bo)); in submit_lookup_objects()
105 ret = copy_from_user(&submit_bo, userptr, sizeof(submit_bo)); in submit_lookup_objects()
112 if ((submit_bo.flags & ~MSM_SUBMIT_BO_FLAGS) || in submit_lookup_objects()
113 !(submit_bo.flags & MSM_SUBMIT_BO_FLAGS)) { in submit_lookup_objects()
114 DRM_ERROR("invalid flags: %x\n", submit_bo.flags); in submit_lookup_objects()
119 submit->bos[i].flags = submit_bo.flags; in submit_lookup_objects()
121 submit->bos[i].iova = submit_bo.presumed; in submit_lookup_objects()
126 obj = idr_find(&file->object_idr, submit_bo.handle); in submit_lookup_objects()
128 DRM_ERROR("invalid handle %u at index %u\n", submit_bo.handle, i); in submit_lookup_objects()
137 submit_bo.handle, i); in submit_lookup_objects()
272 static int submit_bo(struct msm_gem_submit *submit, uint32_t idx, in submit_bo() function
343 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova, &valid); in submit_reloc()
491 ret = submit_bo(submit, submit_cmd.submit_idx, in msm_ioctl_gem_submit()