STRUCT DRM_ETHOSU_SUBMIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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.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_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