Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsallocator.c448 guint32 w, h, fmt, bo_handles[4] = { 0, }; in gst_kms_allocator_add_fb() local
461 bo_handles[i] = kmsmem->bo->handle; in gst_kms_allocator_add_fb()
463 bo_handles[i] = kmsmem->gem_handle[i]; in gst_kms_allocator_add_fb()
469 GST_DEBUG_OBJECT (alloc, "bo handles: %d, %d, %d, %d", bo_handles[0], in gst_kms_allocator_add_fb()
470 bo_handles[1], bo_handles[2], bo_handles[3]); in gst_kms_allocator_add_fb()
481 guint32 _handles[4] = { bo_handles[0], 0, }; in gst_kms_allocator_add_fb()
507 ret = drmModeAddFB2WithModifiers (alloc->priv->fd, w, h, fmt, bo_handles, in gst_kms_allocator_add_fb()
510 ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches, in gst_kms_allocator_add_fb()
513 ret = drmModeAddFB2 (alloc->priv->fd, w, h, DRM_FORMAT_NV15, bo_handles, in gst_kms_allocator_add_fb()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/
H A D0024-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch47 guint32 w, h, fmt, bo_handles[4] = { 0, };
50 GST_DEBUG_OBJECT (alloc, "bo handles: %d, %d, %d, %d", bo_handles[0],
51 bo_handles[1], bo_handles[2], bo_handles[3]);
53 - ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches,
64 + guint32 _handles[4] = { bo_handles[0], 0, };
90 + ret = drmModeAddFB2WithModifiers (alloc->priv->fd, w, h, fmt, bo_handles,
93 + ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches,
96 + ret = drmModeAddFB2 (alloc->priv->fd, w, h, DRM_FORMAT_NV15, bo_handles,
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/
H A D0025-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch39 guint32 w, h, fmt, bo_handles[4] = { 0, };
42 GST_DEBUG_OBJECT (alloc, "bo handles: %d, %d, %d, %d", bo_handles[0],
43 bo_handles[1], bo_handles[2], bo_handles[3]);
45 - ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches,
56 + guint32 _handles[4] = { bo_handles[0], 0, };
82 + ret = drmModeAddFB2WithModifiers (alloc->priv->fd, w, h, fmt, bo_handles,
85 + ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches,
88 + ret = drmModeAddFB2 (alloc->priv->fd, w, h, DRM_FORMAT_NV15, bo_handles,
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/
H A D0025-kmssink-Support-NV12_10LE40-and-NV12-NV12_10LE40-NV1.patch39 guint32 w, h, fmt, bo_handles[4] = { 0, };
42 GST_DEBUG_OBJECT (alloc, "bo handles: %d, %d, %d, %d", bo_handles[0],
43 bo_handles[1], bo_handles[2], bo_handles[3]);
45 - ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches,
56 + guint32 _handles[4] = { bo_handles[0], 0, };
82 + ret = drmModeAddFB2WithModifiers (alloc->priv->fd, w, h, fmt, bo_handles,
85 + ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches,
88 + ret = drmModeAddFB2 (alloc->priv->fd, w, h, DRM_FORMAT_NV15, bo_handles,
/OK3568_Linux_fs/kernel/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 Dvirtgpu_drm.h67 __u64 bo_handles; member
H A Dpanfrost_drm.h64 __u64 bo_handles; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/v3d/
H A Dv3d_gem.c290 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/drm/
H A Dv3d_drm.h100 __u64 bo_handles; member
H A Dvirtgpu_drm.h60 __u64 bo_handles; member
H A Dvc4_drm.h127 __u64 bo_handles; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/drm/
H A Dv3d_drm.h100 __u64 bo_handles; member
H A Dvirtgpu_drm.h60 __u64 bo_handles; member
H A Dvc4_drm.h127 __u64 bo_handles; member
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dxf86drmMode.h297 uint32_t pixel_format, const uint32_t bo_handles[4],
303 uint32_t pixel_format, const uint32_t bo_handles[4],
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/third-party/libdrm/include/libdrm/
H A Dvirtgpu_drm.h67 __u64 bo_handles; member
H A Dvc4_drm.h127 __u64 bo_handles; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/libdrm/
H A Dvirtgpu_drm.h67 __u64 bo_handles; member
/OK3568_Linux_fs/external/linux-rga/samples/utils/3rdparty/libdrm/include/libdrm/
H A Dvirtgpu_drm.h67 __u64 bo_handles; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/
H A Dxf86drmMode.h372 uint32_t pixel_format, const uint32_t bo_handles[4],
378 uint32_t pixel_format, const uint32_t bo_handles[4],
/OK3568_Linux_fs/external/linux-rga/samples/utils/3rdparty/libdrm/include/
H A Dxf86drmMode.h372 uint32_t pixel_format, const uint32_t bo_handles[4],
378 uint32_t pixel_format, const uint32_t bo_handles[4],
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/third-party/libdrm/include/
H A Dxf86drmMode.h372 uint32_t pixel_format, const uint32_t bo_handles[4],
378 uint32_t pixel_format, const uint32_t bo_handles[4],
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_gem.h402 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/
H A Dxf86drmMode.c280 uint32_t height, uint32_t pixel_format, const uint32_t bo_handles[4], in drmModeAddFB2WithModifiers()
292 memcpy(f.handles, bo_handles, 4 * sizeof(bo_handles[0])); in drmModeAddFB2WithModifiers()
306 uint32_t pixel_format, const uint32_t bo_handles[4], in drmModeAddFB2()
311 pixel_format, bo_handles, in drmModeAddFB2()

12