Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c190 struct drm_msm_gem_submit_cmd submit_cmd; in submit_lookup_cmds() local
192 u64_to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); in submit_lookup_cmds()
194 ret = copy_from_user(&submit_cmd, userptr, sizeof(submit_cmd)); in submit_lookup_cmds()
201 switch (submit_cmd.type) { in submit_lookup_cmds()
207 return SUBMIT_ERROR(EINVAL, submit, "invalid type: %08x\n", submit_cmd.type); in submit_lookup_cmds()
210 if (submit_cmd.size % 4) { in submit_lookup_cmds()
212 submit_cmd.size); in submit_lookup_cmds()
216 submit->cmd[i].type = submit_cmd.type; in submit_lookup_cmds()
217 submit->cmd[i].size = submit_cmd.size / 4; in submit_lookup_cmds()
218 submit->cmd[i].offset = submit_cmd.submit_offset / 4; in submit_lookup_cmds()
[all …]