Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gem_submit.c505 struct drm_msm_gem_submit_cmd submit_cmd; in msm_ioctl_gem_submit() local
507 u64_to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); in msm_ioctl_gem_submit()
511 ret = copy_from_user(&submit_cmd, userptr, sizeof(submit_cmd)); in msm_ioctl_gem_submit()
518 switch (submit_cmd.type) { in msm_ioctl_gem_submit()
524 DRM_ERROR("invalid type: %08x\n", submit_cmd.type); in msm_ioctl_gem_submit()
529 ret = submit_bo(submit, submit_cmd.submit_idx, in msm_ioctl_gem_submit()
534 if (submit_cmd.size % 4) { in msm_ioctl_gem_submit()
536 submit_cmd.size); in msm_ioctl_gem_submit()
541 if (!submit_cmd.size || in msm_ioctl_gem_submit()
542 ((submit_cmd.size + submit_cmd.submit_offset) > in msm_ioctl_gem_submit()
[all …]