ENUM XE_PAGE_SIZE_ALLOC_CTRL_MODE(9)
π enum xe_page_size_alloc_ctrl_mode π
okay so bestie, welcome to the Kernel API Manual page for enum xe_page_size_alloc_ctrl_mode β it's literally the enum that controls user BO page-size allocation modes. no cap, that's the whole vibe. π«Ά
β¨ NAME β¨
enum xe_page_size_alloc_ctrl_mode β user BO page-size allocation control modes. π
πΈ SYNOPSIS πΈ
enum xe_page_size_alloc_ctrl_mode {
XE_PAGE_SIZE_ALLOC_CTRL_MODE_NONE ,
XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_2M ,
XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_1G ,
XE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXED
};
π Constants π
XE_PAGE_SIZE_ALLOC_CTRL_MODE_NONEβ use the normal allocation policy. the default bestie behavior, iconic.XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_2Mβ force user BO allocations to 2M pages. committing to the 2M lifestyle. β¨XE_PAGE_SIZE_ALLOC_CTRL_MODE_ONLY_1Gβ force user BO allocations to 1G pages. big page energy only. πXE_PAGE_SIZE_ALLOC_CTRL_MODE_MIXEDβ select page sizes in round-robin order (4K, 64K, 2M, 1G). it's giving variety show. π
π SEE ALSO π
check out the kernel file ./drivers/gpu/drm/xe/xe_device_types.h, plus enum xe_wedged_mode(9), struct xe_device(9), and struct xe_file(9). iykyk. π¦
okay that's the whole page, bestie β signed off from ./drivers/gpu/drm/xe, dated October 2026, under the manual name enum xe_pag...oc_ctrl_mode(9). slay. ππβ¨
π¦ 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