drm_gpuva_f...h_op_reverse(9)
π drm_gpuva_for_each_op_reverse(9) β like, the Kernel API Manual's finest, bestie
okay so real talk, this is from the Kernel API Manual, section 9, and the star of the show is drm_gpuva_for_each_op_reverse β yes that's a mouthful, no you're not gonna say it out loud, just trust the process π«Ά
β¨ NAME β¨
drm_gpuva_for_each_op_reverse β an iterator that walks over &drm_gpuva_ops in reverse, bestie. backwards. like when you're scrolling the group chat from the bottom up to find the drama π
π SYNOPSIS π
drm_gpuva_for_each_op_reverse (op , ops );
literally that's it. that's the whole vibe check π
πΈ ARGUMENTS πΈ
opβ thedrm_gpuva_opyou assign in each iteration step π like, every loop around the block, this lil baby gets a fresh valueopsβ thedrm_gpuva_opsyou're walking, the whole squad of operations you're parading through πΆββοΈ
π¦ DESCRIPTION π¦
This iterator walks over all the ops within a given list of operations β but in reverse π₯ so like, last one first, first one last, main character energy from the other direction π no cap.
π SEE ALSO π
Kernel file ./include/drm/drm_gpuvm.h β and omg the whole friend group came out for this one, look at them all πβ¨
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_first_op(9)drm_gpuva_last_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)
that's the whole page, you ate that π and before you go β this iconic lil doc lives in ./include/drm and it's dated October 2026, so like, future vibes only ππ
periodt β¨
π¦ 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