pvr_kccb_wai...r_completion(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 be NULL. so like, optional. lowkey chill of her πŸ’€

πŸ”₯ RETURN πŸ”₯

  • Zero on success ✨ (we love a zero, zero is the good number here)
  • -ETIMEDOUT on 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:

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