Searched refs:bo_handles (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_ioctl.c | 125 uint32_t *bo_handles = NULL; in virtio_gpu_execbuffer_ioctl() local 186 bo_handles = kvmalloc_array(exbuf->num_bo_handles, in virtio_gpu_execbuffer_ioctl() 188 if (!bo_handles) { in virtio_gpu_execbuffer_ioctl() 193 user_bo_handles = u64_to_user_ptr(exbuf->bo_handles); in virtio_gpu_execbuffer_ioctl() 194 if (copy_from_user(bo_handles, user_bo_handles, in virtio_gpu_execbuffer_ioctl() 200 buflist = virtio_gpu_array_from_handles(file, bo_handles, in virtio_gpu_execbuffer_ioctl() 206 kvfree(bo_handles); in virtio_gpu_execbuffer_ioctl() 207 bo_handles = NULL; in virtio_gpu_execbuffer_ioctl() 256 kvfree(bo_handles); in virtio_gpu_execbuffer_ioctl()
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_gem.c | 294 u64 bo_handles, in v3d_lookup_bos() argument 327 (void __user *)(uintptr_t)bo_handles, in v3d_lookup_bos() 787 args->bo_handles, args->bo_handle_count); in v3d_submit_cl_ioctl() 901 job->base.bo = kcalloc(ARRAY_SIZE(args->bo_handles), in v3d_submit_tfu_ioctl() 912 job->base.bo_count < ARRAY_SIZE(args->bo_handles); in v3d_submit_tfu_ioctl() 916 if (!args->bo_handles[job->base.bo_count]) in v3d_submit_tfu_ioctl() 920 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl() 924 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl() 1017 args->bo_handles, args->bo_handle_count); in v3d_submit_csd_ioctl()
|
/linux/include/uapi/drm/ |
A D | v3d_drm.h | 194 __u64 bo_handles; member 309 __u32 bo_handles[4]; member 334 __u64 bo_handles; member
|
A D | panfrost_drm.h | 64 __u64 bo_handles; member
|
A D | virtgpu_drm.h | 71 __u64 bo_handles; member
|
A D | vc4_drm.h | 127 __u64 bo_handles; member
|
/linux/include/drm/ |
A D | drm_gem.h | 401 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
|
/linux/drivers/gpu/drm/ |
A D | drm_gem.c | 689 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles, in drm_gem_objects_lookup() argument 712 if (copy_from_user(handles, bo_handles, count * sizeof(u32))) { in drm_gem_objects_lookup()
|
/linux/drivers/gpu/drm/panfrost/ |
A D | panfrost_drv.c | 142 (void __user *)(uintptr_t)args->bo_handles, in panfrost_lookup_bos()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_gem.c | 761 if (copy_from_user(handles, u64_to_user_ptr(args->bo_handles), in vc4_cl_lookup_bos()
|
Completed in 27 milliseconds