pvr_kccb_wai...r_completion(9)
π pvr_kccb_wait_for_completion(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the whole manual, and yes, this page is literally about waiting. no, not the "waiting for your crush to text back" kind of waiting (though honestly? same energy π). it's the kernel kind. buckle up π
β¨ NAME β¨
pvr_kccb_wait_for_completion β literally just: wait for a KCCB command to complete. that's it. that's the whole vibe check. β³
πΈ SYNOPSIS πΈ
int pvr_kccb_wait_for_completion (struct pvr_device *pvr_dev , u32
slot_nr , u32 timeout , u32 *rtn_out );
look at her. four args, returns an int, absolutely no notes. slay π
π¦ ARGUMENTS π¦
pvr_devβ the device pointer. like, the actual thing you're poking at. no device, no wait, no nothing, iykyk π«Άslot_nrβ the KCCB slot you're waiting on. yes, a specific slot. pick one. be decisive β¨timeoutβ how long you're willing to wait, measured in jiffies. not seconds, bestie, jiffies. it's giving "kernel has its own clock and honestly? iconic" π°οΈrtn_outβ where you want the KCCB command result stored. and here's the tea: it may beNULL. so like, optional. lowkey chill of her π
π₯ RETURN π₯
- Zero on success β¨ (we love a zero, zero is the good number here)
-ETIMEDOUTon timeout π (you waited, it did not complete, and now you get to feel that)
π SEE ALSO π
the kernel file to go look at: ./drivers/gpu/drm/imagination/pvr_ccb.c β and honestly the whole friend group showed up for this one:
pvr_ccb_init(9)pvr_ccb_fini(9)pvr_ccb_slot_available_locked(9)pvr_fwccb_process(9)pvr_kccb_capacity(9)pvr_kccb_used_slot_count_locked(9)pvr_kccb_send_cmd_reserved_powered(9)pvr_kccb_try_reserve_slot(9)pvr_kccb_reserve_slot_sync(9)pvr_kccb_send_cmd_powered(9)pvr_kccb_send_cmd(9)pvr_kccb_is_idle(9)struct pvr_kccb_fence(9)pvr_kccb_wake_up_waiters(9)pvr_kccb_fini(9)pvr_kccb_init(9)pvr_kccb_fence_alloc(9)pvr_kccb_fence_put(9)pvr_kccb_reserve_slot(9)pvr_kccb_release_slot(9)pvr_fwccb_init(9)
like, that's the entire group chat right there. read 'em and weep (affectionately) π§
anyway bestie, that's the page!! sourced straight from ./drivers/gpu/drm/imagination, dated October 2026 β so like, future knowledge, main character energy fr fr ππ go wait on that completion, you've got this π«Άβ¨
π¦ 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