i915_vma_resource_unbind(9)
π i915_vma_resource_unbind(9) π
okay so welcome to the Kernel API Manual bestie, this is the page for i915_vma_resource_unbind and honestly? it's a whole mood. let's get into it π
β¨ NAME β¨
i915_vma_resource_unbind β unbind a vma resource, that's literally the whole gig π«Ά
πΈ SYNOPSIS πΈ
struct dma_fence * i915_vma_resource_unbind (struct i915_vma_resource
*vma_res , u32 *tlb );
π¦ ARGUMENTS π¦
vma_resβ the vma resource you're unbinding. the main character of this function, if you will πtlbβ a pointer tovma->obj->mm.tlbthat's associated with the resource, and it gets stored atvma_res->tlb. when it's not-NULL, it's gonna be used to do TLB cache invalidation before freeing a VMA resource. it's only used for async unbind, so likeβ¦ don't come for it if it's sitting there doing nothing in the sync case π
π DESCRIPTION π
ngl, at this point in time this function does little more than publish a fence that signals immediately β unless signaling is being held back. that's it. that's the whole function. it's giving "small but mighty" energy β¨
π₯ RETURN π₯
a refcounted pointer to a dma-fence that signals when unbinding is complete. so like, when that fence goes off, you're done, slay π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/i915_vma_resource.c Introduction(9)i915_vma_resource_alloc(9)i915_vma_resource_free(9)i915_vma_resource_unhold(9)i915_vma_resource_hold(9)__i915_vma_resource_init(9)i915_vma_resource_bind_dep_sync(9)i915_vma_resource_bind_dep_sync_all(9)i915_vma_resource_bind_dep_await(9)
like, go read them, they're all right there, iykyk π
bestie note: the tlb arg is only for async unbind, ok? don't be out here assuming it does something in every path π
and that's the page!! π coming at you from ./drivers/gpu/drm/i915, dated October 2026 β mwah, love u, go unbind something π§β
π¦ 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