Home
last modified time | relevance | path

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

/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c81 uint32_t *bo_handles = NULL; in virtio_gpu_execbuffer_ioctl() local
126 bo_handles = kvmalloc_array(exbuf->num_bo_handles, in virtio_gpu_execbuffer_ioctl()
128 if (!bo_handles) { in virtio_gpu_execbuffer_ioctl()
133 user_bo_handles = u64_to_user_ptr(exbuf->bo_handles); in virtio_gpu_execbuffer_ioctl()
134 if (copy_from_user(bo_handles, user_bo_handles, in virtio_gpu_execbuffer_ioctl()
140 buflist = virtio_gpu_array_from_handles(file, bo_handles, in virtio_gpu_execbuffer_ioctl()
146 kvfree(bo_handles); in virtio_gpu_execbuffer_ioctl()
147 bo_handles = NULL; in virtio_gpu_execbuffer_ioctl()
192 kvfree(bo_handles); in virtio_gpu_execbuffer_ioctl()
/drivers/gpu/drm/v3d/
Dv3d_gem.c290 u64 bo_handles, in v3d_lookup_bos() argument
323 (void __user *)(uintptr_t)bo_handles, in v3d_lookup_bos()
604 args->bo_handles, args->bo_handle_count); in v3d_submit_cl_ioctl()
702 job->base.bo = kcalloc(ARRAY_SIZE(args->bo_handles), in v3d_submit_tfu_ioctl()
713 job->base.bo_count < ARRAY_SIZE(args->bo_handles); in v3d_submit_tfu_ioctl()
717 if (!args->bo_handles[job->base.bo_count]) in v3d_submit_tfu_ioctl()
721 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl()
725 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl()
820 args->bo_handles, args->bo_handle_count); in v3d_submit_csd_ioctl()
/drivers/gpu/drm/
Ddrm_gem.c690 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles, in drm_gem_objects_lookup() argument
713 if (copy_from_user(handles, bo_handles, count * sizeof(u32))) { in drm_gem_objects_lookup()
/drivers/gpu/drm/panfrost/
Dpanfrost_drv.c156 (void __user *)(uintptr_t)args->bo_handles, in panfrost_lookup_bos()
/drivers/gpu/drm/vc4/
Dvc4_gem.c761 if (copy_from_user(handles, u64_to_user_ptr(args->bo_handles), in vc4_cl_lookup_bos()