xe_vm_set_validating(9)
π¦ xe_vm_set_validating(9) π¦
okay so bestie, welcome to the Kernel API Manual β this page is all about xe_vm_set_validating(9), and it's lowkey iconic because it's literally about registering your task as currently making bos resident. let's get into it π
β¨ NAME β¨
xe_vm_set_validating β register this task as currently making bos resident π
πΈ SYNOPSIS πΈ
the whole signature vibe is:
void xe_vm_set_validating (struct xe_vm *vm , bool allow_res_evict );
π ARGUMENTS π
vmβ Pointer to the vm orNULL. yes,NULLis right there in the description, bestie π«Άallow_res_evictβ Allow eviction of buffer objects bound to vm when validating. this is the eviction-permission moment β¨
π DESCRIPTION π
okay so here's the tea: you're registering this task as currently making bos resident for the vm. periodt. the whole point is to avoid eviction by the same task of shared bos bound to the vm. it's giving "don't evict your own faves" energy π₯
β οΈ bestie, listen: call with the vm's resv lock held. no cap. not optional. π
π SEE ALSO π
go look at these, iykyk π
- 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_clear_validating(9)xe_vm_is_validating(9)xe_vm_set_validation_exec(9)xe_vm_validation_exec(9)xe_vm_has_valid_gpu_mapping(9)
mwah π this page came from ./drivers/gpu/drm/xe, dated October 2026, and it's literally xe_vm_set_validating(9) β bye bestie! πβ¨
π¦ 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