Lines Matching refs:submit_reloc
424 static int submit_reloc(struct msm_gem_submit *submit, struct msm_gem_object *obj, in submit_reloc() function
451 struct drm_msm_gem_submit_reloc submit_reloc = relocs[i]; in submit_reloc() local
456 if (submit_reloc.submit_offset % 4) { in submit_reloc()
458 submit_reloc.submit_offset); in submit_reloc()
464 off = submit_reloc.submit_offset / 4; in submit_reloc()
473 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova, &valid); in submit_reloc()
480 iova += submit_reloc.reloc_offset; in submit_reloc()
482 if (submit_reloc.shift < 0) in submit_reloc()
483 iova >>= -submit_reloc.shift; in submit_reloc()
485 iova <<= submit_reloc.shift; in submit_reloc()
487 ptr[off] = iova | submit_reloc.or; in submit_reloc()
856 ret = submit_reloc(submit, msm_obj, submit->cmd[i].offset * 4, in msm_ioctl_gem_submit()