STRUCT DRM_IVPU_BO_CREATE(9)
Hiii bestie! π This is struct drm_ivpu_bo_create(9) from the Kernel API Manual β the page thatβs literally all about creating a BO backed by SHMEM. Letβs get into it β¨
π NAME π
struct drm_ivpu_bo_create β Create BO backed by SHMEM π«Ά
β¨ SYNOPSIS β¨
struct drm_ivpu_bo_create {
__u64 size;
__u32 flags;
__u32 handle;
__u64 vpu_addr;
};
π Members π
sizeβ The size in bytes of the allocated memory πflagsβ Supported flags:DRM_IVPU_BO_HIGH_MEMβ Allocate VPU address from>4GBrange. Buffer object with vpu address>4GBcan be always accessed by the VPU DMA engine, but some HW generation may not be able to access this memory from then firmware running on the VPU management processor π Suitable for input, output and some scratch buffers.DRM_IVPU_BO_MAPPABLEβ Buffer object can be mapped usingmmapπΊοΈDRM_IVPU_BO_CACHEDβ Allocated BO will be cached on host side (WB) and snooped on the VPU side. This is the default caching mode β¨DRM_IVPU_BO_UNCACHEDβ Not supported. UseDRM_IVPU_BO_WCinstead πDRM_IVPU_BO_WCβ Allocated BO will use write combining buffer for writes but reads will be uncached π§
handleβ Returned GEM object handle πvpu_addrβ Returned VPU virtual address πΈ
π Description π
The whole vibe: create GEM buffer object allocated in SHMEM memory. Periodt. π
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/drm/ivpu_accel.h contexts(9)DRM_IVPU_CAP_METRIC_STREAMER(9)DRM_IVPU_CAP_DMA_MEMORY_RANGE(9)DRM_IVPU_CAP_MANAGE_CMDQ(9)DRM_IVPU_CAP_BO_CREATE_FROM_USERPTR(9)struct drm_ivpu_param(9)struct drm_ivpu_bo_create_from_userptr(9)struct drm_ivpu_bo_info(9)struct drm_ivpu_submit(9)struct drm_ivpu_cmdq_submit(9)struct drm_ivpu_bo_wait(9)struct drm_ivpu_metric_streamer_start(9)struct drm_ivpu_metric_streamer_get_data(9)struct drm_ivpu_cmdq_create(9)struct drm_ivpu_cmdq_destroy(9)struct drm_ivpu_metric_streamer_stop(9)
This pageβs source/version is ./include/uapi/drm, dated October 2026 β mwah, bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms