STRUCT DRM_ETHOSU_SUBMIT(9)
π struct drm_ethosu_submit(9) π
okay bestie, welcome to the Kernel API Manual β this one's all about struct drm_ethosu_submit(9), and honestly? it's giving "tiny struct, big job energy." π
β¨ NAME β¨
struct drm_ethosu_submit β the ioctl argument you use to submit commands to the NPU. that's it, that's the whole vibe. π§
πΈ SYNOPSIS πΈ
struct drm_ethosu_submit {
__u64 jobs;
__u32 job_count;
__u32 perfmon_id;
};
(no cap, that trailing }; is indented by exactly one space in the original and we are respecting it π)
π«Ά Members π«Ά
the page doesn't spell these out one by one, so literally just look up at the struct above β jobs, job_count, and perfmon_id are right there living their best lives. π¦
π Description π
here's the main character moment: the kernel will schedule the execution of these jobs in dependency order. β
like, bestie, you're not hand-holding the ordering β the kernel sorts out the dependency chain itself. iconic behaviour, honestly. π₯
π₯ SEE ALSO π₯
go read these next, iykwim π
Kernel file ./include/uapi/drm/ethosu_accel.hIOCTL 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_bo_mmap_offset(9)struct drm_ethosu_job(9)struct drm_ethosu_perfmon_set_global(9)DRM_IOCTL_ETHOSU(9)
π«Ά tiny reminder: every single one of those cross-refs is fr fr worth clicking, don't just read this one page and dip π
aaaand that's the page! sourced straight from ./include/uapi/drm gal, dated October 2026 β go slay your NPU submissions, 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