STRUCT DRM_ETHOSU_BO_MMAP_OFFSET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct drm_ethosu_bo_mmap_offset(9) 🌸

okay so bestie, this is a page straight out of the Kernel API Manual, and it's literally just one little struct that carries the args you hand to DRM_IOCTL_ETHOSU_BO_MMAP_OFFSET. that's it. that's the whole vibe. it's giving "small but essential" πŸ’…


✨ NAME ✨

struct drm_ethosu_bo_mmap_offset β€” the arguments passed to DRM_IOCTL_ETHOSU_BO_MMAP_OFFSET.

like, it's the little envelope πŸ“© you slide across the table when you want an mmap offset for an object. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_ethosu_bo_mmap_offset {
    __u32 handle;
    __u32 pad;
    __u64 offset;
 };

there she is πŸ’– three fields, zero drama. copy it exactly, don't touch the pad, i'm begging.


πŸŽ€ Members πŸŽ€

  • handle β€” the handle of the object we want an mmap offset for. this is the "which one?" field, bestie 🫢
  • pad β€” MBZ. that's "must be zero", so literally leave it at zero, no exceptions, don't be cute about it πŸ™ˆ
  • offset β€” the fake offset you use for subsequent mmap calls. yes, fake. it's a stand-in for the real one, and it's iconic for it ⭐

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/uapi/drm/ethosu_accel.h
  • IOCTL IDs(9)
  • IOCTL arguments(9)
  • enum drm_ethosu_dev_query_type(9)
  • struct drm_ethosu_dev_query(9)
  • enum drm_ethosu_bo_flags(9)
  • struct drm_ethosu_bo_create(9)
  • struct drm_ethosu_job(9)
  • struct drm_ethosu_submit(9)
  • struct drm_ethosu_perfmon_set_global(9)
  • DRM_IOCTL_ETHOSU(9)

okay that's the whole page, go read the friends it listed, they all ate πŸ’€βœ¨

signed off with love from ./include/uapi/drm, dated October 2026, page title struct drm_e..._mmap_offset(9) β€” mwah, study well bestie πŸ§šπŸ’œ

πŸ“¦ where this page comes from