ENUM DRM_GPUVA_FLAGS(9)
π enum drm_gpuva_flags(9) β the Kernel API Manual, but make it cute
okay bestie, buckle up π this is enum drm_gpuva_flags(9) from the Kernel API Manual, and it's honestly a little icon. it's the flags enum for struct drm_gpuva, and yes it's short, but every single member is doing its job. no filler. no cap. β¨
πΈ NAME πΈ
enum drm_gpuva_flags β literally just the flags for struct drm_gpuva π«Ά
π¦ SYNOPSIS π¦
enum drm_gpuva_flags {
DRM_GPUVA_INVALIDATED ,
DRM_GPUVA_SPARSE ,
DRM_GPUVA_USERBITS
};
look at her. three constants. main character energy only π
β¨ Constants β¨
DRM_GPUVA_INVALIDATEDβ this flag is saying "thedrm_gpuva's backing GEM is invalidated" π like the backing store has been invalidated, and this flag is how thedrm_gpuvatells you that. it's giving "hey bestie, that GEM? not valid anymore."DRM_GPUVA_SPARSEβ this one flags that thedrm_gpuvais a sparse mapping π³οΈ that's the whole vibe, that's the whole flag.DRM_GPUVA_USERBITSβ user defined bits π§ like, the bits are yours, defined by the user. do with them what you will.
π₯ SEE ALSO π₯
this part is a whole friend group, i'm not kidding, iykyk π
Kernel file ./include/drm/drm_gpuvm.h, plus:
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_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)
like i said. whole friend group. every one of them tagged in the group chat π
and that's the page, bestie π it lives in ./include/drm, October 2026 edition, and honestly? she ate. 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