Searched refs:submit_bo (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 125 struct drm_msm_gem_submit_bo submit_bo; in submit_lookup_objects() local 127 u64_to_user_ptr(args->bos + (i * sizeof(submit_bo))); in submit_lookup_objects() 134 if (copy_from_user(&submit_bo, userptr, sizeof(submit_bo))) { in submit_lookup_objects() 143 if ((submit_bo.flags & ~MSM_SUBMIT_BO_FLAGS) || in submit_lookup_objects() 144 !(submit_bo.flags & MANDATORY_FLAGS)) { in submit_lookup_objects() 145 SUBMIT_ERROR(submit, "invalid flags: %x\n", submit_bo.flags); in submit_lookup_objects() 151 submit->bos[i].handle = submit_bo.handle; in submit_lookup_objects() 152 submit->bos[i].flags = submit_bo.flags; in submit_lookup_objects() 370 static int submit_bo(struct msm_gem_submit *submit, uint32_t idx, in submit_bo() function 433 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova); in submit_reloc() [all …]
|
/linux-6.12.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 244 static int submit_bo(struct etnaviv_gem_submit *submit, u32 idx, in submit_bo() function 296 ret = submit_bo(submit, r->reloc_idx, &bo); in submit_reloc() 323 ret = submit_bo(submit, r->read_idx, &bo); in submit_perfmon_validate()
|