Home
last modified time | relevance | path

Searched refs:submit_cmd (Results 1 – 1 of 1) sorted by relevance

/drivers/gpu/drm/msm/
Dmsm_gem_submit.c467 struct drm_msm_gem_submit_cmd submit_cmd; in msm_ioctl_gem_submit() local
469 u64_to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); in msm_ioctl_gem_submit()
473 ret = copy_from_user(&submit_cmd, userptr, sizeof(submit_cmd)); in msm_ioctl_gem_submit()
480 switch (submit_cmd.type) { in msm_ioctl_gem_submit()
486 DRM_ERROR("invalid type: %08x\n", submit_cmd.type); in msm_ioctl_gem_submit()
491 ret = submit_bo(submit, submit_cmd.submit_idx, in msm_ioctl_gem_submit()
496 if (submit_cmd.size % 4) { in msm_ioctl_gem_submit()
498 submit_cmd.size); in msm_ioctl_gem_submit()
503 if ((submit_cmd.size + submit_cmd.submit_offset) >= in msm_ioctl_gem_submit()
505 DRM_ERROR("invalid cmdstream size: %u\n", submit_cmd.size); in msm_ioctl_gem_submit()
[all …]