ENUM XE_PAGE_SIZE_ALLOC_CTRL_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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