dma_fence_unlock_irqrestore(9)
π dma_fence_unlock_irqrestore(9)
okay so bestie, welcome to the Kernel API Manual β¨ β today we're doing dma_fence_unlock_irqrestore, and honestly? she's a short one, but she's important. π
πΈ NAME πΈ
dma_fence_unlock_irqrestore β unlock the fence and irqrestore π«Ά
β¨ SYNOPSIS β¨
dma_fence_unlock_irqrestore (fence , flags );
like, that's it. that's the whole call. no cap. π
π¦ ARGUMENTS π¦
fenceβ the fence to unlock π this is the main character of the operation, the one you're setting freeflagsβ the CPU flags to restore β the saved-state bestie that comes back home
π DESCRIPTION π
Unlock the fence, allowing it to change its state to signaled again β¨
that's the entire vibe: you hold the lock, you do your little thing, and then you let go so the fence can go back to doing fence stuff β including flipping over to signaled. it's giving "release and let live" π
π SEE ALSO π
Kernel file ./include/linux/dma-fence.h β go read the source, iykyk π
struct dma_fence(9)struct dma_fence_cb(9)struct dma_fence_ops(9)dma_fence_was_initialized(9)dma_fence_put(9)dma_fence_get(9)dma_fence_get_rcu(9)dma_fence_get_rcu_safe(9)dma_fence_spinlock(9)dma_fence_lock_irqsave(9)dma_fence_assert_held(9)Safe external access to driver provided object members(9)dma_fence_is_signaled_locked(9)dma_fence_is_signaled(9)__dma_fence_is_later(9)dma_fence_is_later(9)dma_fence_is_later_or_same(9)dma_fence_later(9)dma_fence_get_status_locked(9)dma_fence_set_error(9)dma_fence_timestamp(9)dma_fence_wait(9)dma_fence_is_array(9)dma_fence_is_chain(9)dma_fence_is_container(9)
psst π«Ά β if you're here you probably want dma_fence_lock_irqsave(9), her literal other half. they're a matching set, like friendship bracelets but for spinlocks π
and that's the whole page, bestie! π sign-off time: this fine piece of documentation lives in ./include/linux, dated October 2026, and it's dma_fence_unlock_irqrestore(9) all the way down π mwah, go unlock something 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