STRUCT DRM_IVPU_BO_INFO(9)
π struct drm_ivpu_bo_info(9) β like, the Kernel API Manual page, bestie π
okay so first things first: this is a page straight outta the Kernel API Manual, and it's all about struct drm_ivpu_bo_info β yes, that's the whole vibe. It's the "Query buffer object info" struct, and honestly? She's giving lookup-table energy and I'm obsessed. β¨
πΈ NAME πΈ
struct drm_ivpu_bo_info β Query buffer object info π«Ά
Like, you hand it a BO and it tells you stuff about it. That's the whole job. Iconic, honestly, no notes.
β¨ SYNOPSIS β¨
struct drm_ivpu_bo_info {
__u32 handle;
__u32 flags;
__u64 vpu_addr;
__u64 mmap_offset;
__u64 size;
};
look at her. five fields. perfectly balanced. the way that __u32 and __u64 just coexist... π
π¦ Members π¦
okay so let's go through the whole cast, one by one, main character by main character:
handleβ Handle of the queried BO π β literally the ID of the buffer object you're asking about, iykyk.flagsβ Returned flags used to create the BO π β they come back to you from creation time, like a little receipt.vpu_addrβ Returned VPU virtual address β β the VPU's virtual address, returned to you, no cap.mmap_offsetβ Returned offset to be used inmmap.0in case the BO is not mappable. π β yes bestie, that0means not mappable, don't come for me, that's just what it says.sizeβ Returned GEM object size, aligned toPAGE_SIZEπ β and it's aligned toPAGE_SIZE, so it's tidy. slay.
fr fr,mmap_offsetbeing0is the "not mappable" signal β so if you see a0there, that's your answer, don't @ me. π
π₯ SEE ALSO π₯
the whole group chat showed up for this one, and we're listing everyone, periodt:
- 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(9)struct drm_ivpu_bo_create_from_userptr(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)
π and that's the page!! sourced from ./include/uapi/drm, dated October 2026, and filed under struct drm_ivpu_bo_info(9) β mwah, go read the neighbors, ily, bye 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