to_pvr_queue_job_fence(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this page is all about to_pvr_queue_job_fence(9), and honestly? it's giving "little helper that knows exactly who's who at the party." πŸ¦‹

to_pvr_queue_job_fence β€” Return a pvr_queue_fence object if the fence is already backed by a UFO. πŸ‘½βœ¨


✨ SYNOPSIS ✨

struct pvr_queue_fence * to_pvr_queue_job_fence (struct dma_fence *f );

🌸 ARGUMENTS 🌸

  • f β€” the dma_fence you wanna turn into a pvr_queue_fence. that's the whole input, bestie, no hidden extras πŸ’…

πŸ’… DESCRIPTION πŸ’…

so like, this function could be called on a few different things, and it handles each one differently depending on the vibe check it gets πŸ‘‘

  • a job fence, directly β€” in which case it simply returns the containing pvr_queue_fence. easy, no cap, it just hands you the thing 🫢
  • a drm_sched_fence's scheduled or finished fence β€” in which case it will first try to follow the parent pointer to find the job fence. ⚠️ important caveat, bestie: note that the parent pointer is initialized only after the run_job callback is called on the drm_sched_fence's owning job. so like, timing matters, fr fr 😭
  • any other dma_fence β€” in which case it will return NULL. not every fence is main character energy, and that's fine πŸ’€

πŸ”₯ RETURN πŸ”₯

  • A non-NULL pvr_queue_fence object if the dma_fence is backed by a UFO πŸ‘½, or
  • NULL otherwise πŸ™ˆ

⭐ SEE ALSO ⭐

Kernel file ./drivers/gpu/drm/imagination/pvr_queue.c β€” that's the spot, iykyk πŸ—ΊοΈ

and the whole squad, in order, exactly as listed:


and that's the page, babes πŸ“ it lives under ./drivers/gpu/drm/imagination, it's dated October 2026, and it's literally titled to_pvr_queue_job_fence(9) πŸ’œ go read the source, slay, periodt ✨🧚
πŸ“¦ where this page comes from