/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 81 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()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | v3d_drm.h | 53 __u64 bo_handles; member 103 __u32 bo_handles[4]; member 110 __u64 bo_handles; member
|
D | panfrost_drm.h | 49 __u64 bo_handles; member
|
D | virtgpu_drm.h | 46 __u64 bo_handles; member
|
D | vc4_drm.h | 66 __u64 bo_handles; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | v3d_drm.h | 124 __u64 bo_handles; member 228 __u32 bo_handles[4]; member 248 __u64 bo_handles; member
|
D | virtgpu_drm.h | 67 __u64 bo_handles; member
|
D | panfrost_drm.h | 64 __u64 bo_handles; member
|
D | vc4_drm.h | 127 __u64 bo_handles; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 290 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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/ |
D | v3d_drm.h | 46 __u64 bo_handles; member
|
D | virtgpu_drm.h | 30 __u64 bo_handles; member
|
D | vc4_drm.h | 57 __u64 bo_handles; member
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_gem.h | 402 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem.c | 690 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_drv.c | 156 (void __user *)(uintptr_t)args->bo_handles, in panfrost_lookup_bos()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_gem.c | 761 if (copy_from_user(handles, u64_to_user_ptr(args->bo_handles), in vc4_cl_lookup_bos()
|