STRUCT DRM_ETHOSU_BO_CREATE(9)
β¨ struct drm_ethosu_bo_create(9) β¨
okay bestie, welcome to the struct drm_ethosu_bo_create page from the Kernel API Manual π
this is literally the struct that describes the arguments passed to DRM_IOCTL_ETHOSU_BO_CREATE β like, the little envelope of info you hand over when you want a buffer object created. no cap π«Ά
π NAME π
struct drm_ethosu_bo_create β Arguments passed to DRM_IOCTL_ETHOSU_BO_CREATE. that's it, that's the vibe β¨
π¦ SYNOPSIS π¦
struct drm_ethosu_bo_create {
__u64 size;
__u32 flags;
__u32 handle;
};
look at her. three little fields, main character energy π
πΈ Members πΈ
so here's the cast of characters, bestie, one by one π
sizeβ the size you're requesting for the object π and heads up, the actual (page-aligned) allocated size for the object will be returned back to you β so what you ask for and what you get are lowkey not the same thing, iykyk.flagsβ the flags, obviously π must be a combination ofdrm_ethosu_bo_flagsflags. combination, bestie β mix and match from that enum, don't invent your own π§handleβ the returned handle for the object π and the key detail: object handles are nonzero. like, zero is not a handle, periodt. don't be out here checkingif (handle == 0)and getting confused π
π₯ SEE ALSO π₯
the whole friend group, no one left out π
- 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_mmap_offset(9)struct drm_ethosu_job(9)struct drm_ethosu_submit(9)struct drm_ethosu_perfmon_set_global(9)DRM_IOCTL_ETHOSU(9)
ngl this one's short and sweet, so go read the enum drm_ethosu_bo_flags(9) page next if you wanna know which flags you can actually pass π
okay that's the whole page, bestie, you ate that π«Ά this lil number lives in ./include/uapi/drm, dated October 2026, and it's page struct drm_ethosu_bo_create(9) of the Kernel API Manual β mwah, see you in the next one πβ¨
π¦ 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