Lines Matching refs:submit

86 	struct msm_gem_submit *submit;  member
300 struct msm_gem_submit *submit, int idx, in snapshot_buf() argument
303 struct msm_gem_object *obj = submit->bos[idx].obj; in snapshot_buf()
308 offset = iova - submit->bos[idx].iova; in snapshot_buf()
310 iova = submit->bos[idx].iova; in snapshot_buf()
325 if (!(submit->bos[idx].flags & MSM_SUBMIT_BO_READ)) in snapshot_buf()
344 void msm_rd_dump_submit(struct msm_rd_state *rd, struct msm_gem_submit *submit, in msm_rd_dump_submit() argument
347 struct drm_device *dev = submit->dev; in msm_rd_dump_submit()
371 task = pid_task(submit->pid, PIDTYPE_PID); in msm_rd_dump_submit()
375 pid_nr(submit->pid), submit->seqno); in msm_rd_dump_submit()
378 pid_nr(submit->pid), submit->seqno); in msm_rd_dump_submit()
384 for (i = 0; i < submit->nr_bos; i++) in msm_rd_dump_submit()
385 snapshot_buf(rd, submit, i, 0, 0, should_dump(submit, i)); in msm_rd_dump_submit()
387 for (i = 0; i < submit->nr_cmds; i++) { in msm_rd_dump_submit()
388 uint32_t szd = submit->cmd[i].size; /* in dwords */ in msm_rd_dump_submit()
391 if (!should_dump(submit, i)) { in msm_rd_dump_submit()
392 snapshot_buf(rd, submit, submit->cmd[i].idx, in msm_rd_dump_submit()
393 submit->cmd[i].iova, szd * 4, true); in msm_rd_dump_submit()
397 for (i = 0; i < submit->nr_cmds; i++) { in msm_rd_dump_submit()
398 uint64_t iova = submit->cmd[i].iova; in msm_rd_dump_submit()
399 uint32_t szd = submit->cmd[i].size; /* in dwords */ in msm_rd_dump_submit()
401 switch (submit->cmd[i].type) { in msm_rd_dump_submit()