drm_gpuvm_resv(9)
π drm_gpuvm_resv β Kernel API Manual π
okay so bestie, welcome to the drm_gpuvm_resv(9) page from the Kernel API Manual β¨ it's a tiny little function but it's a whole vibe, i promise. it's giving "one-line function, zero drama, maximum usefulness" π
πΈ NAME πΈ
drm_gpuvm_resv β returns the &drm_gpuvm's &dma_resv π
like. that's it. that's the whole job. it hands you the resv thing that belongs to the gpuvm thing. slay.
β¨ SYNOPSIS β¨
drm_gpuvm_resv (gpuvm__ );
no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
gpuvm__β thedrm_gpuvmπ literally just pass in yourdrm_gpuvmand we're cooking.
π RETURN π
it returns a pointer to the drm_gpuvm's shared dma_resv π
key word: shared. that resv isn't a you-only situation, it's shared, okay? bestie behaviour fr fr π
π§ SEE ALSO π§
- Kernel file
./include/drm/drm_gpuvm.hπ 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_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_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)
bestie that list is LONG π i typed every single one tho, because we don't skip the boring parts in this household π iykyk.
okay that's the page!! short, sweet, iconic, ate and left no crumbs π
π tiny sign-off time: this one lives in the kernel file ./include/drm, dated October 2026, and it's the drm_gpuvm_resv(9) page β say it back π mwah π
β¨
π¦ 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