xe_bo_is_mem_type(9)
π NAME π
okay so bestie, welcome to the xe_bo_is_mem_type(9) page from the Kernel API Manual. This one is all about answering: whether the bo currently resides in the given TTM memory type. literally that's the whole vibe check. β¨
πΈ SYNOPSIS πΈ
bool xe_bo_is_mem_type (struct xe_bo *bo , u32 mem_type );
π ARGUMENTS π
boβ the bo to check. yes, that bo. πmem_typeβ the TTM memory type.
π¦ RETURN π¦
true iff the bo resides in mem_type, false otherwise. no cap, that's the tea. π
π SEE ALSO π
also peep the kernel file ./drivers/gpu/drm/xe/xe_bo.h enum, plus these absolute icons:
xe_madv_purgeable_state(9)xe_bo_is_purged(9)xe_bo_madv_is_dontneed(9)xe_bo_willneed_get_locked(9)xe_bo_willneed_put_locked(9)xe_bo_vma_count_inc_locked(9)xe_bo_vma_count_dec_locked(9)xe_bo_size(9)xe_bo_has_valid_ccs_bb(9)xe_bo_put_deferred(9)xe_bo_put_async(9)xe_bo_sg_is_contiguous(9)struct xe_bo_shrink_flags(9)
mwah π this cutie comes from ./drivers/gpu/drm/xe, dated October 2026, and yes bestie, it's still xe_bo_is_mem_type(9). π«Ά
π¦ 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