pvr_queue_ge...b_cccb_fence(9)
π NAME π
ok so bestie, welcome to the Kernel API Manual, section 9 β this is pvr_queue_get_job_cccb_fence β¨ and it does exactly one iconic thing: it gets the CCCB fence that's attached to a job. that's it, that's the whole vibe π
π₯ SYNOPSIS π₯
struct dma_fence * pvr_queue_get_job_cccb_fence (struct pvr_queue *queue
, struct pvr_job *job );
like, you hand it a queue and a job and it hands you back a struct dma_fence *, no cap π«Ά
πΈ ARGUMENTS πΈ
queueβ the queue this job is gonna be submitted to. yes, this queue. the one it belongs to πjobβ the job whose CCCB fence you're trying to get. the main character of this function call, honestly π
π¦ DESCRIPTION π¦
okay so picture this: the CCCB fence is a synchronization primitive β and the way that it works is it lets us delay job submission until there's enough space in the CCCB to actually submit the job. it's giving "bestie hold on, wait for your turn" energy πβ¨
it's literally just a little fence that says "not yet, not yetβ¦ okay NOW" π
β RETURN β
so what do you get back? two possibilities, and only two:
NULLif there's enough space in the CCCB to submit this job β slay, you're good to go π- a valid
dma_fenceobject otherwise β i.e. nope, not yet, the fence is telling you to chill π
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/imagination/pvr_queue.c and here's the whole friend group π«Ά:
pvr_queue_fence_is_ufo_backed(9)to_pvr_queue_job_fence(9)pvr_queue_fence_put(9)pvr_queue_fence_alloc(9)pvr_queue_fence_init(9)pvr_queue_cccb_fence_init(9)pvr_queue_job_fence_init(9)pvr_queue_fence_ctx_init(9)job_count_remaining_native_deps(9)pvr_queue_get_job_kccb_fence(9)pvr_queue_prepare_job(9)pvr_queue_update_active_state_locked(9)pvr_queue_update_active_state(9)pvr_queue_run_job(9)pvr_queue_timedout_job(9)pvr_queue_free_job(9)pvr_queue_fence_is_native(9)pvr_queue_signal_done_fences(9)pvr_queue_check_job_waiting_for_cccb_space(9)pvr_queue_process(9)init_fw_context(9)pvr_queue_cleanup_fw_context(9)pvr_queue_job_init(9)pvr_queue_job_arm(9)pvr_queue_job_cleanup(9)pvr_queue_job_push(9)pvr_queue_create(9)pvr_queue_kill(9)pvr_queue_destroy(9)pvr_queue_device_init(9)pvr_queue_device_fini(9)
and that's the whole page, bestie π this one came from ./drivers/gpu/drm/imagination, dated October 2026, and it's filed under section 9 of the Kernel API Manual β go forth and fence responsibly ππβ¨
π¦ 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