pvr_queue_fence_is_native(9)
π pvr_queue_fence_is_native(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a lil' function from the Imagination GPU driver and it is, lowkey, doing a whole vibe check on your fences. Let's get into it π«Ά
πΈ NAME πΈ
pvr_queue_fence_is_native β the girl whose entire job is checking whether a dma_fence is native to this driver π
fr fr, that's it, that's the whole plot.
β¨ SYNOPSIS β¨
bool pvr_queue_fence_is_native (struct dma_fence *f );
π ARGUMENTS π
fβ the fence we're testing. yes literally just hand her a fence and she'll tell you what's up π
π¦ DESCRIPTION π¦
So the way this works: you pass in a fence, and she checks if it's a drm_sched_fence that's actually coming from this driver. Not some random other driver's fence trying to sneak into the group chat β ours. periodt. π
And here's the cute part β it might be a UFO-backed fence, iykyk. Meaning a fence that can be signaled or waited upon FW-side. Think pvr_job::done_fence objects, which are backed by the timeline UFO attached to the queue they get pushed to πβ
So yeah, she's out here doing important work, no cap π
π₯ SEE ALSO π₯
First up, the kernel file this all lives in:
./drivers/gpu/drm/imagination/pvr_queue.c
and then the whole extended 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_cccb_fence(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_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)
mwah π that's the whole page. go check some fences, bestie β and remember, this lil' encyclopedia entry is brought to you by ./drivers/gpu/drm/imagination, all the way from October 2026. slay πβ¨
π¦ 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