Searched refs:bo_handles (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/include/uapi/drm/ |
| D | v3d_drm.h | 122 __u64 bo_handles; member 226 __u32 bo_handles[4]; member 246 __u64 bo_handles; member
|
| D | panfrost_drm.h | 64 __u64 bo_handles; member
|
| D | virtgpu_drm.h | 67 __u64 bo_handles; member
|
| D | vc4_drm.h | 127 __u64 bo_handles; member
|
| /Linux-v5.4/drivers/gpu/drm/virtio/ |
| D | virtgpu_ioctl.c | 114 uint32_t *bo_handles = NULL; in virtio_gpu_execbuffer_ioctl() local 163 bo_handles = kvmalloc_array(exbuf->num_bo_handles, in virtio_gpu_execbuffer_ioctl() 168 if (!bo_handles || !buflist) { in virtio_gpu_execbuffer_ioctl() 173 user_bo_handles = u64_to_user_ptr(exbuf->bo_handles); in virtio_gpu_execbuffer_ioctl() 174 if (copy_from_user(bo_handles, user_bo_handles, in virtio_gpu_execbuffer_ioctl() 181 gobj = drm_gem_object_lookup(drm_file, bo_handles[i]); in virtio_gpu_execbuffer_ioctl() 192 kvfree(bo_handles); in virtio_gpu_execbuffer_ioctl() 193 bo_handles = NULL; in virtio_gpu_execbuffer_ioctl() 241 kvfree(bo_handles); in virtio_gpu_execbuffer_ioctl()
|
| /Linux-v5.4/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() 582 args->bo_handles, args->bo_handle_count); in v3d_submit_cl_ioctl() 664 job->base.bo = kcalloc(ARRAY_SIZE(args->bo_handles), in v3d_submit_tfu_ioctl() 675 job->base.bo_count < ARRAY_SIZE(args->bo_handles); in v3d_submit_tfu_ioctl() 679 if (!args->bo_handles[job->base.bo_count]) in v3d_submit_tfu_ioctl() 683 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl() 687 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl() 782 args->bo_handles, args->bo_handle_count); in v3d_submit_csd_ioctl()
|
| /Linux-v5.4/include/drm/ |
| D | drm_gem.h | 390 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
|
| /Linux-v5.4/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 719 if (copy_from_user(handles, bo_handles, count * sizeof(u32))) { in drm_gem_objects_lookup()
|
| /Linux-v5.4/drivers/gpu/drm/panfrost/ |
| D | panfrost_drv.c | 134 (void __user *)(uintptr_t)args->bo_handles, in panfrost_lookup_bos()
|
| /Linux-v5.4/drivers/gpu/drm/vc4/ |
| D | vc4_gem.c | 762 if (copy_from_user(handles, u64_to_user_ptr(args->bo_handles), in vc4_cl_lookup_bos()
|