panthor_subm...and_arm_jobs(9)
π panthor_submit_ctx_add_deps_and_arm_jobs
okay so bestie, we're in the Kernel API Manual today and this one is a function page β full name is panthor_submit_ctx_add_deps_and_arm_jobs π (the header truncates it to panthor_subm...and_arm_jobs, that's just the man page being dramatic about line width, don't panic).
β¨ NAME β¨
panthor_submit_ctx_add_deps_and_arm_jobs β it adds jobs dependencies, and then it arms jobs. That's literally the whole job description π two things, both slay.
π¦ SYNOPSIS π¦
int panthor_submit_ctx_add_deps_and_arm_jobs(struct panthor_submit_ctx *ctx);
πΈ ARGUMENTS πΈ
ctxβ the Submit context. that's it. that's the whole parameter list. main character energy honestly π
π DESCRIPTION π
So here's the tea: you must call this after the resv preparation has been taken care of. Like, resv prep first, then this. Not the other way around. The function is lowkey depending on you having done your homework already π
no cap, this is a must β "Must be called after the resv preparation has been taken care of." Respect the ordering or don't come crying to me π
β RETURN β
0on success π- a negative error code otherwise π (yes, negative β that's the whole mood)
π₯ SEE ALSO π₯
the whole friend group, gathered for you π«Ά
- 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_add_job(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_push_jobs(9)panthor_submit_ctx_init(9)panthor_submit_ctx_cleanup(9)
and that's the page, bestie β¨ this one lives in ./drivers/gpu/drm/panthor, dated October 2026, and yeah the Kernel API Manual really did truncate the title to panthor_subm...and_arm_jobs(9) β iconic of it honestly π go read those SEE ALSOs, iykyk ππ
π¦ 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