panthor_submit_ctx_add_job(9)
๐ panthor_submit_ctx_add_job(9) ๐
okay so bestie, welcome to the kernel API manual for panthor_submit_ctx_add_job โ this is a Linux kernel function, and it lives in section 9 of the manual (the kernel API one, iykyk). let's get into it ๐ซถ
โจ NAME โจ
panthor_submit_ctx_add_job โ literally just: add a job to a submit context</p>. that's the whole vibe. ๐
๐ธ SYNOPSIS ๐ธ
int panthor_submit_ctx_add_job (struct panthor_submit_ctx *ctx , u32 idx
, struct drm_sched_job *job , const struct drm_panthor_obj_array *syncs
);
yes she takes four arguments and returns an int, no cap โจ
๐ฆ ARGUMENTS ๐ฆ
ctxโ the context! and like, specifically the one you want to search the signal operation in ๐idxโ the index of the job, inside the context. the job's little seat number ๐jobโ the job being added. that's her. that's the main character ๐syncsโ the sync operations, provided by userspace. so userspace hands these over and we're like "okay noted" ๐
๐ RETURN ๐
0 on success โ slay. anything else is a negative error code, which is the "it did not work" vibe ๐ญ
๐ SEE ALSO ๐
the whole friend group, fr fr:
- Kernel file
./drivers/gpu/drm/panthor/panthor_drv.cuser <-> kernel object copy helpers.(9) panthor_set_uobj(9)panthor_get_uobj_array(9)PANTHOR_UOBJ_MIN_SIZE_INTERNAL(9)PANTHOR_UOBJ_DECL(9)PANTHOR_UOBJ_MIN_SIZE(9)PANTHOR_UOBJ_SET(9)PANTHOR_UOBJ_GET_ARRAY(9)struct panthor_sync_signal(9)struct panthor_job_ctx(9)struct panthor_submit_ctx(9)panthor_check_sync_op(9)panthor_sync_signal_free(9)panthor_submit_ctx_add_sync_signal(9)panthor_submit_ctx_search_sync_signal(9)panthor_submit_ctx_get_sync_signal(9)panthor_submit_ctx_update_job_sync_signal_fences(9)panthor_submit_ctx_collect_job_signal_ops(9)panthor_submit_ctx_push_fences(9)panthor_submit_ctx_add_sync_deps_to_job(9)panthor_submit_ctx_collect_jobs_signal_ops(9)panthor_submit_ctx_add_deps_and_arm_jobs(9)panthor_submit_ctx_push_jobs(9)panthor_submit_ctx_init(9)panthor_submit_ctx_cleanup(9)
like, the entire panthor submit-context cinematic universe. iconique ๐
and that's the page!! ๐
this little beauty comes to you from ./drivers/gpu/drm/panthor, and the version/date on the tin says October 2026 โ yes bestie, october 2026, we're manifesting the future โจ๐ฎ mwah, go read some more manpages, ily ๐ซถ๐
๐ฆ 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