STRUCT DRM_GPUSVM_RANGE_FLAGS(9)
π struct drm_gpusvm_range_flags(9) π
okay bestie, welcome to the Kernel API Manual β yes, that's the manual name, and this page is literally all about one struct. We're talking range-level GPU SVM flags, no cap. β¨
πΈ NAME πΈ
struct drm_gpusvm_range_flags β Range-level GPU SVM flags. That's the name, that's the vibe, obsessed. π
π¦ SYNOPSIS π¦
Here's the struct, copied exactly β don't touch the spacing, bestie:
struct drm_gpusvm_range_flags {
union {
struct {
u16 migrate_devmem : 1;
u16 unmapped : 1;
u16 partial_unmap : 1;
};
u16 __flags;
};
};
π Members π
{unnamed_union}β anonymous. It literally has no name, iykyk. π{unnamed_struct}β anonymous too. Mysterious iconic behavior. π«Άmigrate_devmemβ Flag indicating whether the range can be migrated to device memory. slay as a flag. β¨unmappedβ Flag indicating if the range has been unmapped.partial_unmapβ Flag indicating if the range has been partially unmapped.__flagsβ All flags inu16form (used forREAD_ONCE). the whole flag package in one littleu16. π
π SEE ALSO π
Kernel file: ./include/drm/drm_gpusvm.h β plus the whole related squad: struct drm_gpusvm_ops(9), struct drm_gpusvm_notifier(9), struct drm_gpusvm_pages_flags(9), struct drm_gpusvm_pages(9), struct drm_gpusvm_range(9), struct drm_gpusvm(9), struct drm_gpusvm_ctx(9), drm_gpusvm_init_pages(9), enum drm_gpusvm_scan_result(9), drm_gpusvm_driver_set_lock(9), drm_gpusvm_notifier_lock(9), drm_gpusvm_notifier_unlock(9), drm_gpusvm_range_start(9), drm_gpusvm_range_end(9), drm_gpusvm_range_size(9), drm_gpusvm_notifier_start(9), drm_gpusvm_notifier_end(9), drm_gpusvm_notifier_size(9), __drm_gpusvm_range_next(9), drm_gpusvm_for_each_range(9), drm_gpusvm_for_each_range_safe(9), __drm_gpusvm_notifier_next(9), drm_gpusvm_for_each_notifier(9), drm_gpusvm_for_each_notifier_safe(9).
Cute little sign-off, bestie: this page is brought to you by ./include/drm, dated October 2026. 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