Searched refs:submit_reloc (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 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() [all …]
|
/Linux-v6.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 259 static int submit_reloc(struct etnaviv_gem_submit *submit, void *stream, in submit_reloc() function 566 ret = submit_reloc(submit, stream, args->stream_size / 4, in etnaviv_ioctl_gem_submit()
|