cs_slot_reset_locked(9)
π cs_slot_reset_locked β nope, wait, let's start with the NAME π
okay bestie, welcome to the cs_slot_reset_locked(9) page, straight out of the Kernel API Manual β¨ this one's a lil kernel function that resets a queue slot, and honestly? it's giving "small function, big responsibilities" energy π
π¦ NAME π¦
cs_slot_reset_locked β reset a queue slot. that's it. that's the whole vibe check π
πΈ SYNOPSIS πΈ
int cs_slot_reset_locked (struct panthor_device *ptdev , u32 csg_id ,
u32 cs_id );
so she takes three things and hands you back an int, periodt π
β¨ ARGUMENTS β¨
ptdevβ the Device. like, the actual device. main character energy π«Άcsg_idβ Group slot. the group-level spot, iykyk πcs_idβ Queue slot. the queue-level spot inside it π
π₯ DESCRIPTION π₯
okay so here's what she does: she changes the queue slot state to STOP and suspends the queue timeout β but only if the queue is not blocked. not me adding conditions to my own reset π read that again: if the queue is not blocked. blocked queue? she's not touching the timeout, bestie. respect the boundaries π
π¨ important caveat incoming: the group slot must have a group bound to it already (that's group_bind_locked). no group bound? bestie, that's not it. make sure it's bound first, fr fr π
π SEE ALSO π
the whole friend group came out for this one, no cap β¨:
- Kernel file
./drivers/gpu/drm/panthor/panthor_sched.cπΈ 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_prog_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)
and that's the whole page, bestie π₯Ή this icon lives in ./drivers/gpu/drm/panthor, and this lil time capsule is dated October 2026 β so go forth, reset those queue slots responsibly, and remember: no group bound = no reset πβ¨ππ¦πΈπ
π«Ά
π¦ 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