STRUCT DRM_ROCKET_CREATE_BO(9)
π struct drm_rocket_create_bo(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for struct drm_rocket_create_bo, and it is literally the ioctl argument for creating Rocket BOs. that's the vibe. periodt. π
πΈ NAME πΈ
struct drm_rocket_create_bo β ioctl argument for creating Rocket BOs. no cap, that's the whole name situation. β¨
β¨ SYNOPSIS β¨
here's the struct, bestie β exact energy, don't touch the fields:
struct drm_rocket_create_bo {
__u32 size;
__u32 handle;
__u64 dma_address;
__u64 offset;
};
π Members π
sizeβ Input: Size of the requested BO. that's the ask, bestie π«Άhandleβ Output: GEM handle for the BO. iconic little receipt πdma_addressβ Output: DMA address for the BO in the NPU address space. this address is private to the DRM fd and is valid for the lifetime of the GEM handle. yes, lifetime-of-the-GEM-handle valid β write that down πβ¨offsetβ Output: Offset into the drm node to use for subsequent mmap call. mmap later, slay now π
π¦ SEE ALSO π¦
go peek at these icons, iykyk:
- Kernel file
./include/uapi/drm/rocket_accel.h struct drm_rocket_prep_bo(9)struct drm_rocket_fini_bo(9)struct drm_rocket_task(9)struct drm_rocket_job(9)struct drm_rocket_submit(9)
mwah π source/version: ./include/uapi/drm; date: October 2026; footer title: struct drm_rocket_create_bo(9). byeee π«Άβ¨
π¦ 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