Searched refs:submit_reloc (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 302 static int submit_reloc(struct msm_gem_submit *submit, struct msm_gem_object *obj, in submit_reloc() function 329 struct drm_msm_gem_submit_reloc submit_reloc; in submit_reloc() local 331 u64_to_user_ptr(relocs + (i * sizeof(submit_reloc))); in submit_reloc() 336 if (copy_from_user(&submit_reloc, userptr, sizeof(submit_reloc))) { in submit_reloc() 341 if (submit_reloc.submit_offset % 4) { in submit_reloc() 343 submit_reloc.submit_offset); in submit_reloc() 349 off = submit_reloc.submit_offset / 4; in submit_reloc() 358 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova, &valid); in submit_reloc() 365 iova += submit_reloc.reloc_offset; in submit_reloc() 367 if (submit_reloc.shift < 0) in submit_reloc() [all …]
|
/Linux-v5.4/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 270 static int submit_reloc(struct etnaviv_gem_submit *submit, void *stream, in submit_reloc() function 563 ret = submit_reloc(submit, stream, args->stream_size / 4, in etnaviv_ioctl_gem_submit()
|