Home
last modified time | relevance | path

Searched refs:bo_handles (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c301 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()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
H A 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()
/kernel/linux/linux-5.10/include/uapi/drm/
H A Dv3d_drm.h124 __u64 bo_handles; member
228 __u32 bo_handles[4]; member
248 __u64 bo_handles; member
H A Dpanfrost_drm.h64 __u64 bo_handles; member
H A Dvirtgpu_drm.h67 __u64 bo_handles; member
H A Dvc4_drm.h107 * and an attribute count), so those BO indices into bo_handles are
117 * uniform data has a __u32 index into bo_handles per texture
127 __u64 bo_handles; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
H A Dv3d_drm.h53 __u64 bo_handles; member
103 __u32 bo_handles[4]; member
110 __u64 bo_handles; member
H A Dvirtgpu_drm.h46 __u64 bo_handles; member
H A Dpanfrost_drm.h49 __u64 bo_handles; member
H A Dvc4_drm.h66 __u64 bo_handles; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/drm/
H A Dv3d_drm.h53 __u64 bo_handles; member
103 __u32 bo_handles[4]; member
110 __u64 bo_handles; member
H A Dvirtgpu_drm.h46 __u64 bo_handles; member
H A Dpanfrost_drm.h49 __u64 bo_handles; member
H A Dvc4_drm.h66 __u64 bo_handles; member
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/
H A Dv3d_gem.c290 u64 bo_handles, in v3d_lookup_bos()
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()
287 v3d_lookup_bos(struct drm_device *dev, struct drm_file *file_priv, struct v3d_job *job, u64 bo_handles, u32 bo_count) v3d_lookup_bos() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/v3d/
H A Dv3d_gem.c285 * @bo_handles: GEM handles
299 u64 bo_handles, in v3d_lookup_bos()
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, arg in v3d_submit_csd_ioctl()
296 v3d_lookup_bos(struct drm_device *dev, struct drm_file *file_priv, struct v3d_job *job, u64 bo_handles, u32 bo_count) v3d_lookup_bos() argument
[all...]
/kernel/linux/linux-6.6/include/uapi/drm/
H A Dv3d_drm.h194 __u64 bo_handles; member
309 __u32 bo_handles[4]; member
334 __u64 bo_handles; member
H A Dpanfrost_drm.h64 __u64 bo_handles; member
H A Dvirtgpu_drm.h82 __u64 bo_handles; member
H A Dvc4_drm.h107 * and an attribute count), so those BO indices into bo_handles are
117 * uniform data has a __u32 index into bo_handles per texture
127 __u64 bo_handles; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
H A Dv3d_drm.h46 __u64 bo_handles; member
H A Dvirtgpu_drm.h30 __u64 bo_handles; member
H A Dvc4_drm.h57 __u64 bo_handles; member
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_gem.h402 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_gem.h524 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,

Completed in 16 milliseconds

12