xe_vm_is_validating(9)
πΈ NAME πΈ
okay so bestie, this is the xe_vm_is_validating(9) page from the Kernel API Manual, and it is literally here to tell you whether bos bound to the vm are currently being made resident by the current task. That's the vibe. π
β¨ SYNOPSIS β¨
bool xe_vm_is_validating (struct xe_vm *vm );
π ARGUMENTS π
vmβ pointer to the vm. That's the whole argument, bestie, no extra lore.
π¦ DESCRIPTION π¦
so if this function returns true, we should be in a vm resv locked region, because the current process is the same task that called xe_vm_set_validating. The function asserts that that's indeed the case β like, it is checking the vibe and expecting it to match. β¨
π RETURN π
true if the task is currently making bos resident, false otherwise. periodt.
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/xe/xe_vm.h
MAX_FAULTS_SAVED_PER_VM(9)xe_vm_has_scratch(9)gpuvm_to_vm(9)Provide accessors for vma members to facilitate easy change of(9)to_userptr_vma(9)xe_vm_reactivate_rebind(9)xe_vm_resv(9)xe_vm_assert_held(9)xe_vm_set_validating(9)xe_vm_clear_validating(9)xe_vm_set_validation_exec(9)xe_vm_validation_exec(9)xe_vm_has_valid_gpu_mapping(9)
mwah π β source/version: ./drivers/gpu/drm/xe; date: October 2026. This has been xe_vm_is_validating(9), and yes, she ate. π«Ά
π¦ 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