xe_pagemap_cache_create(9)
π xe_pagemap_cache_create(9) π
okay so we're in the Kernel API Manual bestie, and this one is a whole little function about making a drm_pagemap cache. short page, but iconic. let's get into it π«Ά
β¨ NAME β¨
xe_pagemap_cache_create β literally just: create a drm_pagemap cache. that's the whole vibe. π
πΈ SYNOPSIS πΈ
int xe_pagemap_cache_create (struct xe_tile *tile );
no cap, that's it. one argument, one return value, we love a low-effort signature π
π¦ ARGUMENTS π¦
tileβ the tile you're registering the cache with. like, this is the tile. the cache goes here. that's the whole relationship π
β DESCRIPTION β
so what does it actually do?? it creates a drm_pagemap cache and registers it with the tile. yes bestie, both things. create + register. it's giving "one function, two jobs" and honestly? slay. π₯
π RETURN π
0β success!! we ate π β¨- negative error code β failure π it's negative, so like, not great. check it, always.
π§ SEE ALSO π§
the full squad, no members left behind. also the kernel file ./drivers/gpu/drm/xe/xe_svm.c is linked in here, plus a reference to drm_pagemap reference-counting in xe:(9) π
xe_svm_init(9)xe_svm_close(9)xe_svm_fini(9)xe_svm_range_validate(9)xe_svm_find_vma_start(9)xe_svm_range_needs_migrate_to_vram(9)xe_svm_handle_pagefault(9)xe_svm_has_mapping(9)xe_svm_unmap_address_range(9)xe_svm_bo_evict(9)xe_svm_range_find_or_insert(9)xe_svm_range_get_pages(9)xe_svm_ranges_zap_ptes_in_range(9)xe_vma_resolve_pagemap(9)xe_svm_alloc_vram(9)xe_pagemap_create(9)xe_pagemap_find_or_create(9)xe_pagemap_shrinker_create(9)xe_drm_pagemap_from_fd(9)xe_svm_flush(9)
lowkey go read them if you're deep in the pagemap trenches, iykyk π
and that's the whole page bestie, we're done!! this one came straight out of ./drivers/gpu/drm/xe and the version/date vibes are October 2026 β so like, future energy fr fr ππ¦ see you in the next manpage, mwah π
π¦ 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