STRUCT DRM_ROCKET_CREATE_BO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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