cs_slot_prog_locked(9)
π cs_slot_prog_locked(9)
okay bestie, welcome to the kernel API manual for cs_slot_prog_locked(9) β yes the name is a mouthful, yes it's iconic, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
cs_slot_prog_locked β program a queue slot, literally what it says on the tin π
πΈ SYNOPSIS πΈ
void cs_slot_prog_locked (struct panthor_device *ptdev , u32 csg_id ,
u32 cs_id );
that's it, that's the whole call. no return value, no drama, just vibes β¨
π ARGUMENTS π
ptdevβ the Device. the wholestruct panthor_device, your main character π«Άcsg_idβ Group slot ID. the group's little slot number, iykykcs_idβ Queue slot ID. the queue's own slot number, not to be confused with the group one (do not mix them up bestie, the scheduler can tell π)
π¦ DESCRIPTION π¦
okay so picture this: you've got a queue slot just sitting there doing nothing, and we're about to program it π β like, we hand it all the queue information it needs so things can actually start being executed on this queue. the queue goes from "existing" to "girl, do something" β¨
π heads up though: the group slot must have a group bound to it already β that's what group_bind_locked is for. no group bound? no programming. periodt.
π₯ SEE ALSO π₯
everything lives in the kernel file ./drivers/gpu/drm/panthor/panthor_sched.c β go read it, it's giving main character energy π
Scheduler(9)struct panthor_csg_slot(9)enum panthor_csg_priority(9)struct panthor_scheduler(9)struct panthor_syncobj_32b(9)struct panthor_syncobj_64b(9)struct panthor_queue(9)enum panthor_group_state(9)struct panthor_group(9)group_queue_work(9)sched_queue_work(9)sched_queue_delayed_work(9)struct panthor_group_pool(9)struct panthor_job(9)group_bind_locked(9)group_unbind_locked(9)cs_slot_reset_locked(9)csg_slot_sync_priority_locked(9)cs_slot_sync_queue_state_locked(9)sched_process_global_irq_locked(9)panthor_sched_report_fw_events(9)panthor_sched_report_mmu_fault(9)panthor_fdinfo_gather_group_mem_info(9)
okay that's the whole page, you ate that π
one last thing β this gem comes to you from ./drivers/gpu/drm/panthor, dated October 2026, and it's filed under the manual name cs_slot_prog_locked(9). slay, go program a queue 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