Home
last modified time | relevance | path

Searched refs:buf_handles (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_job.c426 ivpu_job_prepare_bos_for_submit(struct drm_file *file, struct ivpu_job *job, u32 *buf_handles, in ivpu_job_prepare_bos_for_submit() argument
438 struct drm_gem_object *obj = drm_gem_object_lookup(file, buf_handles[i]); in ivpu_job_prepare_bos_for_submit()
497 u32 *buf_handles; in ivpu_submit_ioctl() local
515 buf_handles = kcalloc(params->buffer_count, sizeof(u32), GFP_KERNEL); in ivpu_submit_ioctl()
516 if (!buf_handles) in ivpu_submit_ioctl()
519 ret = copy_from_user(buf_handles, in ivpu_submit_ioctl()
542 ret = ivpu_job_prepare_bos_for_submit(file, job, buf_handles, params->buffer_count, in ivpu_submit_ioctl()
560 kfree(buf_handles); in ivpu_submit_ioctl()