drm_gpuvm_is_extobj(9)
π drm_gpuvm_is_extobj(9) π
okay so bestie, welcome to the Kernel API Manual β todayβs main character is drm_gpuvm_is_extobj, and itβs lowkey here to tell you whether the given &drm_gem_object is an external object. no cap. π«Ά
πΈ NAME πΈ
drm_gpuvm_is_extobj β indicates whether the given &drm_gem_object is an external object π
β¨ SYNOPSIS β¨
bool drm_gpuvm_is_extobj (struct drm_gpuvm *gpuvm , struct drm_gem_object *obj );
like, thatβs the whole vibe check: hand it a gpuvm and an obj, get a bool back. periodt. β¨
π ARGUMENTS π
gpuvmβ thedrm_gpuvmto check πobjβ thedrm_gem_objectto check π
π RETURN π
Returns true if the drm_gem_objectβs dma_resv differs from the drm_gpuvmβs dma_resv; otherwise it returns false. literally thatβs it, bestie β just a resv comparison π
π¦ SEE ALSO π¦
Kernel file ./include/drm/drm_gpuvm.h β and the whole squad, fr fr:
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_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)
cute sign-off: source/version is ./include/drm, dated October 2026, and this iconic page is drm_gpuvm_is_extobj(9) π«Άβ¨
π¦ 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