i915_gem_obj...moving_fence(9)
π i915_gem_obj...moving_fence(9)
okay bestie, welcome to the Kernel API Manual β¨ β this is the page for i915_gem_obj...moving_fence(9), and honestly? it's a short one, but it's lowkey important, so let's get into it π«Ά
πΈ NAME πΈ
i915_gem_object_get_moving_fence β Get the object's moving fence if any π
That's it. That's the whole name section. Slay.
β¨ SYNOPSIS β¨
int i915_gem_object_get_moving_fence (struct drm_i915_gem_object *obj ,
struct dma_fence **fence );
literally verbatim, character for character, no cap π
π¦ ARGUMENTS π¦
objβ The object whose moving fence to get. like, the object in question. the main character of this whole situation πfenceβ The resulting fence β this is where the fence comes out π
π DESCRIPTION π
so here's the vibe check π₯ β a non-signaled moving fence means there's an async operation pending on the object. and that means you gotta wait on it before you go setting up any GPU- or CPU PTEs to the object's pages. no skipping ahead, bestie π it's giving "please wait for your turn" energy.
iykyk β the fence isn't signaled yet, so the pages aren't ready. do not touch them until the wait is done. periodt π
π RETURN π
- Negative error code β oops, something went wrong π
0β for success β¨ we love to see it
β SEE ALSO β
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_object.cπ __i915_gem_object_fini(9)i915_gem_object_set_cache_coherency(9)i915_gem_object_set_pat_index(9)__i915_gem_object_pages_fini(9)i915_gem_object_read_from_page(9)i915_gem_object_evictable(9)i915_gem_object_migratable(9)i915_gem_object_has_struct_page(9)i915_gem_object_has_iomem(9)i915_gem_object_can_migrate(9)i915_gem_object_migrate(9)__i915_gem_object_migrate(9)i915_gem_object_placement_possible(9)i915_gem_object_needs_ccs_pages(9)i915_gem_object_wait_moving_fence(9)
like, the whole friend group fr fr π go read them too, they're iconic.
π§ that's the whole page, bestie. go forth and wait on your fences properly π
sign-off time π this lil gem lives in ./drivers/gpu/drm/i915/gem, and this edition is dated October 2026 β and yes, the page is literally titled i915_gem_obj...moving_fence(9) because truncation is giving minimal effort and honestly? iconic. π¦β¨
π¦ 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