Lines Matching refs:submit_reloc
388 static int submit_reloc(struct msm_gem_submit *submit, struct drm_gem_object *obj, in submit_reloc() function
412 struct drm_msm_gem_submit_reloc submit_reloc = relocs[i]; in submit_reloc() local
416 if (submit_reloc.submit_offset % 4) { in submit_reloc()
418 submit_reloc.submit_offset); in submit_reloc()
424 off = submit_reloc.submit_offset / 4; in submit_reloc()
433 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova); in submit_reloc()
437 iova += submit_reloc.reloc_offset; in submit_reloc()
439 if (submit_reloc.shift < 0) in submit_reloc()
440 iova >>= -submit_reloc.shift; in submit_reloc()
442 iova <<= submit_reloc.shift; in submit_reloc()
444 ptr[off] = iova | submit_reloc.or; in submit_reloc()
808 ret = submit_reloc(submit, obj, submit->cmd[i].offset * 4, in msm_ioctl_gem_submit()