Searched refs:submit_reloc (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 292 static int submit_reloc(struct msm_gem_submit *submit, struct msm_gem_object *obj, in submit_reloc() function 316 struct drm_msm_gem_submit_reloc submit_reloc; in submit_reloc() local 318 u64_to_user_ptr(relocs + (i * sizeof(submit_reloc))); in submit_reloc() 322 ret = copy_from_user(&submit_reloc, userptr, sizeof(submit_reloc)); in submit_reloc() 326 if (submit_reloc.submit_offset % 4) { in submit_reloc() 328 submit_reloc.submit_offset); in submit_reloc() 334 off = submit_reloc.submit_offset / 4; in submit_reloc() 343 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova, &valid); in submit_reloc() 350 iova += submit_reloc.reloc_offset; in submit_reloc() 352 if (submit_reloc.shift < 0) in submit_reloc() [all …]
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 230 static int submit_reloc(struct etnaviv_gem_submit *submit, void *stream, in submit_reloc() function 394 ret = submit_reloc(submit, stream, args->stream_size / 4, in etnaviv_ioctl_gem_submit()
|