STRUCT DRM_ETHOSU_BO_MMAP_OFFSET(9)
πΈ 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 subsequentmmapcalls. 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
- 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