drm_gpuva_last_op(9)
πΈ drm_gpuva_last_op(9) β Kernel API Manual energy β¨
okay bestie, listen up, because this one is tiny but iconic. this is drm_gpuva_last_op(9), and yeah the page header is literally that β title plus manual name, we're folding it in right here so it doesn't get lonely π
β¨ NAME β¨
drm_gpuva_last_op β returns the last &drm_gpuva_op from &drm_gpuva_ops π
like, the actual last one. the end-of-the-line op. the final boss of the list. no cap.
π¦ SYNOPSIS π¦
drm_gpuva_last_op (ops );
that's it. that's the whole call. so clean, so minimal, main character energy fr fr π
π ARGUMENTS π
opsβ thedrm_gpuva_opsto get the lastdrm_gpuva_opfrom π«Ά you hand it the collection, it hands you back the last op in that collection. that's the vibe check and it passes.
π SEE ALSO π
okay this is the part where the lore gets deep, because there is a whole friend group here. also worth shouting out: Kernel file ./include/drm/drm_gpuvm.h β that's the home base, bestie π
enum drm_gpuva_flags(9)struct drm_gpuva(9)drm_gpuva_invalidate(9)drm_gpuva_invalidated(9)enum drm_gpuvm_flags(9)struct drm_gpuvm(9)drm_gpuvm_get(9)drm_gpuvm_resv_protected(9)drm_gpuvm_immediate_mode(9)drm_gpuvm_resv(9)drm_gpuvm_resv_obj(9)drm_gpuvm_is_extobj(9)drm_gpuvm_for_each_va_range(9)drm_gpuvm_for_each_va_range_safe(9)drm_gpuvm_for_each_va(9)drm_gpuvm_for_each_va_safe(9)struct drm_gpuvm_exec(9)drm_gpuvm_exec_unlock(9)drm_gpuvm_exec_resv_add_fence(9)drm_gpuvm_exec_validate(9)struct drm_gpuvm_bo(9)drm_gpuvm_bo_get(9)drm_gpuvm_bo_gem_evict(9)drm_gpuvm_bo_for_each_va(9)drm_gpuvm_bo_for_each_va_safe(9)enum drm_gpuva_op_type(9)struct drm_gpuva_op_map(9)struct drm_gpuva_op_unmap(9)struct drm_gpuva_op_remap(9)struct drm_gpuva_op_prefetch(9)struct drm_gpuva_op(9)struct drm_gpuva_ops(9)drm_gpuva_for_each_op(9)drm_gpuva_for_each_op_safe(9)drm_gpuva_for_each_op_from_reverse(9)drm_gpuva_for_each_op_reverse(9)drm_gpuva_first_op(9)drm_gpuva_prev_op(9)drm_gpuva_next_op(9)struct drm_gpuvm_map_req(9)struct drm_gpuvm_ops(9)drm_gpuva_op_remap_to_unmap_range(9)
like yes, that's a lot of names, but they're all gonna be at the function, you gotta know them πβ¨ and notice drm_gpuva_first_op(9) is right there too β first op and last op, the two ends of the list, matching besties fr fr π«Ά
π friendly reminder: the synopsis really is just drm_gpuva_last_op (ops ); β don't go inventing extra arguments, this function does not have the range for that.
and that's the page! πΈ sign-off time: this one lives in ./include/drm, it's dated October 2026, and the page itself is drm_gpuva_last_op(9) β mwah, go get that last op bestie π
π
π¦ 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