STRUCT DRM_ROCKET_SUBMIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct drm_rocket_submit(9) β€” the Kernel API Manual moment

okay so bestie, we're in the Kernel API Manual today and the star of the show is struct drm_rocket_submit ✨

πŸŽ€ NAME πŸŽ€

struct drm_rocket_submit β€” the ioctl argument for submitting commands to the NPU. that's it, that's the whole vibe 🫢


🌸 SYNOPSIS 🌸

struct drm_rocket_submit {
    __u64 jobs;
    __u32 job_count;
    __u32 job_struct_size;
    __u64 reserved;
 };

look at her. four fields. flawless. no notes πŸ’…


πŸ¦‹ Members πŸ¦‹

  • jobs β€” Input: a pointer to an array of struct drm_rocket_job. it's giving "here's my to-do list" πŸ“‹
  • job_count β€” Input: the number of jobs you're passing in. literally just how many bestie πŸ’–
  • job_struct_size β€” Input: the size in bytes of the structs sitting in the jobs field. yes, in bytes. we measure in bytes here πŸ”₯
  • reserved β€” reserved, and it must be zero. no exceptions, no "but what if", zero. periodt πŸ™ˆ

⭐ Description ⭐

the kernel will schedule the execution of these jobs in dependency order. not me thinking that's the most iconic scheduling behaviour ever β€” it respects the timeline fr fr πŸ‘‘


🌈 SEE ALSO 🌈

  • Kernel file ./include/uapi/drm/rocket_accel.h struct drm_rocket_create_bo(9)
  • struct drm_rocket_prep_bo(9)
  • struct drm_rocket_fini_bo(9)
  • struct drm_rocket_task(9)
  • struct drm_rocket_job(9)

go read them, they're all icons in their own right 🧚


lowkey a whole family of structs and every single one of them ate πŸ’€

and that's the page!! mwah πŸ’‹ β€” sourced straight from ./include/uapi/drm, dated October 2026, and it's struct drm_rocket_submit(9) forever and always πŸŽ€βœ¨

πŸ“¦ where this page comes from