Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_gem_submit.c188 struct drm_msm_gem_submit_cmd submit_cmd; in submit_lookup_cmds() local
190 u64_to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); in submit_lookup_cmds()
192 ret = copy_from_user(&submit_cmd, userptr, sizeof(submit_cmd)); in submit_lookup_cmds()
199 switch (submit_cmd.type) { in submit_lookup_cmds()
205 DRM_ERROR("invalid type: %08x\n", submit_cmd.type); in submit_lookup_cmds()
209 if (submit_cmd.size % 4) { in submit_lookup_cmds()
211 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 …]