__xe_sa_bo_new(9)
π __xe_sa_bo_new(9) β Kernel API Manual glow-up
okay so bestie, this is the __xe_sa_bo_new(9) page from the Kernel API Manual. It's the function that makes a suballocation but uses custom gfp flags, and honestly? iconic behavior. β¨
πΈ NAME
__xe_sa_bo_new β Make a suballocation but use custom gfp flags. π
β¨ SYNOPSIS
struct drm_suballoc * __xe_sa_bo_new (struct xe_sa_manager *sa_manager ,
u32 size , gfp_t gfp );
π ARGUMENTS
sa_managerβ thexe_sa_manager. That's the manager bestie, periodt. πsizeβ number of bytes we want to suballocate. πgfpβgfpflags used for memory allocation. TypicallyGFP_KERNEL. π«Ά
π¦ DESCRIPTION
Try to make a suballocation of size size. That's the whole assignment, no plot twists. π¬
π₯ RETURN
A drm_suballoc, or an ERR_PTR. That's the return vibe check. π
π SEE ALSO
- Kernel file
./drivers/gpu/drm/xe/xe_sa.c __xe_sa_bo_manager_init(9)xe_sa_bo_swap_shadow(9)xe_sa_bo_sync_shadow(9)xe_sa_bo_alloc(9)xe_sa_bo_init(9)xe_sa_bo_flush_write(9)xe_sa_bo_sync_read(9)
Sign-off time, bestie: this page comes from ./drivers/gpu/drm/xe and is dated October 2026. Go forth and suballocate slayfully. ππ
π¦ 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