Searched refs:bo_handles (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/virtio/ |
D | virtgpu_submit.c | 301 u32 *bo_handles; in virtio_gpu_init_submit_buflist() local 306 bo_handles = kvmalloc_array(exbuf->num_bo_handles, sizeof(*bo_handles), in virtio_gpu_init_submit_buflist() 308 if (!bo_handles) in virtio_gpu_init_submit_buflist() 311 if (copy_from_user(bo_handles, u64_to_user_ptr(exbuf->bo_handles), in virtio_gpu_init_submit_buflist() 312 exbuf->num_bo_handles * sizeof(*bo_handles))) { in virtio_gpu_init_submit_buflist() 313 kvfree(bo_handles); in virtio_gpu_init_submit_buflist() 317 submit->buflist = virtio_gpu_array_from_handles(submit->file, bo_handles, in virtio_gpu_init_submit_buflist() 320 kvfree(bo_handles); in virtio_gpu_init_submit_buflist() 324 kvfree(bo_handles); in virtio_gpu_init_submit_buflist()
|
/linux-6.6.21/include/uapi/drm/ |
D | v3d_drm.h | 194 __u64 bo_handles; member 309 __u32 bo_handles[4]; member 334 __u64 bo_handles; member
|
D | panfrost_drm.h | 64 __u64 bo_handles; member
|
D | virtgpu_drm.h | 82 __u64 bo_handles; member
|
D | vc4_drm.h | 127 __u64 bo_handles; member
|
/linux-6.6.21/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 299 u64 bo_handles, in v3d_lookup_bos() argument 313 (void __user *)(uintptr_t)bo_handles, in v3d_lookup_bos() 730 args->bo_handles, args->bo_handle_count); in v3d_submit_cl_ioctl() 845 job->base.bo = kcalloc(ARRAY_SIZE(args->bo_handles), in v3d_submit_tfu_ioctl() 855 job->base.bo_count < ARRAY_SIZE(args->bo_handles); in v3d_submit_tfu_ioctl() 859 if (!args->bo_handles[job->base.bo_count]) in v3d_submit_tfu_ioctl() 862 bo = drm_gem_object_lookup(file_priv, args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl() 866 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl() 956 args->bo_handles, args->bo_handle_count); in v3d_submit_csd_ioctl()
|
/linux-6.6.21/include/drm/ |
D | drm_gem.h | 524 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_gem.c | 698 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles, in drm_gem_objects_lookup() argument 721 if (copy_from_user(handles, bo_handles, count * sizeof(u32))) { in drm_gem_objects_lookup()
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_drv.c | 152 (void __user *)(uintptr_t)args->bo_handles, in panfrost_lookup_bos()
|
/linux-6.6.21/drivers/gpu/drm/vc4/ |
D | vc4_gem.c | 762 ret = drm_gem_objects_lookup(file_priv, u64_to_user_ptr(args->bo_handles), in vc4_cl_lookup_bos()
|