i915_vma_re...dep_sync_all(9)
β¨ i915_vma_resource_bind_dep_sync_all β the "wait for all the unbinds, bestie" page β¨
okay so real quick β this page lives in the Kernel API Manual, and the function it's about is i915_vma_resource_bind_dep_sync_all. yes the name is a mouthful, no we're not shortening it, she earned that name π
πΈ NAME πΈ
i915_vma_resource_bind_dep_sync_all β waits for / syncs all the unbinds of a vm, and the whole time it's waiting it releases the vm lock π«Ά
π¦ SYNOPSIS π¦
void i915_vma_resource_bind_dep_sync_all (struct i915_address_space *vm );
that's it, that's the whole signature, no return value, void queen π
π ARGUMENTS π
vmβ the vm we're looking at π that's the one. that's the vm.
π DESCRIPTION π
so here's the tea β β the function may not be called with the vm lock held. like, do not do that, that's the rule, we don't break it π
typically you'd call this at vm destruction, to finish up any pending unbind operations that are still hanging around. think of it as the cleanup crew showing up at the end of the party π§Ήβ¨
and the iconic part? the vm mutex is released while waiting β on purpose! β so we don't stall kernel workqueues that are trying to grab the mutex. it's giving considerate. it's giving "I'll step aside so you can get through" main character energy π no cap, that's the whole reason.
π 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_unbind(9)__i915_vma_resource_init(9)i915_vma_resource_bind_dep_sync(9)i915_vma_resource_bind_dep_await(9)
go read the whole friend group, they're all slaying in their own way fr fr π
aaand that's the page!! π this little gem ships from ./drivers/gpu/drm/i915, dated October 2026, and it's part of the Kernel API Manual β go off, kernel docs, we love to see it βπ¦π
π¦ 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