xe_svm_range_validate(9)
π¦ xe_svm_range_validate(9) π¦ β welcome to the Kernel API Manual, bestie!
okay so you clicked into the Kernel API Manual page for xe_svm_range_validate(9), and honestly? iconic choice. let's get into it π
π NAME π
xe_svm_range_validate β check if the SVM range is valid. that's the vibe check, fr fr π«Ά
β¨ SYNOPSIS β¨
the signature, untouched and looking gorgeous:
bool xe_svm_range_validate (struct xe_vm *vm , struct xe_svm_range
*range , u8 tile_mask , const struct drm_pagemap *dpagemap );
π ARGUMENTS π
bestie, here's the whole cast β every single one matters:
vmβ anxe_vmpointer. yes, literally that.rangeβ pointer to the SVM range structure. main character energy, honestly.tile_maskβ mask representing the tiles to be checked. the way that this mask is masking πdpagemapβ if!NULL, the range is expected to be present in device memory identified by this parameter. no cap, that!NULLdetail is important π
πΈ DESCRIPTION πΈ
the xe_svm_range_validate function checks if a range is valid and located in the desired memory region.
that's it. that's the whole function. it's not here to start drama, it's just doing its little validity check and memory-region vibe check. periodt β¨
π₯ RETURN π₯
trueif the range is validfalseotherwise
literally binary. she ate and left no crumbs π
π SEE ALSO π
okay so the lore is deep, and every one of these is right there β don't skip them:
- Kernel file
./drivers/gpu/drm/xe/xe_svm.c drm_pagemapreference-counting inxe:(9)xe_svm_init(9)xe_svm_close(9)xe_svm_fini(9)xe_svm_find_vma_start(9)xe_svm_range_needs_migrate_to_vram(9)xe_svm_handle_pagefault(9)xe_svm_has_mapping(9)xe_svm_unmap_address_range(9)xe_svm_bo_evict(9)xe_svm_range_find_or_insert(9)xe_svm_range_get_pages(9)xe_svm_ranges_zap_ptes_in_range(9)xe_vma_resolve_pagemap(9)xe_svm_alloc_vram(9)xe_pagemap_create(9)xe_pagemap_find_or_create(9)xe_pagemap_shrinker_create(9)xe_pagemap_cache_create(9)xe_drm_pagemap_from_fd(9)xe_svm_flush(9)
source/version: ./drivers/gpu/drm/xe Β· date: October 2026 Β· stay slay, drink water, and validate your ranges ππ¦
π¦ 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