xe_ggtt_map_bo_unlocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_ggtt_map_bo_unlocked(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual, bestie β€” welcome to the group chat 🫢


✨ NAME ✨

xe_ggtt_map_bo_unlocked β€” the girl whose whole job is restoring a mapping of a BO into GGTT πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void xe_ggtt_map_bo_unlocked (struct xe_ggtt *ggtt , struct xe_bo *bo );

like… she takes two things and returns nothing (void), she's got main character energy but zero receipts 😭


🌸 ARGUMENTS 🌸

  • ggtt β€” the xe_ggtt where the node will be mapped. that's her venue, her stage, her whole vibe check 🎀
  • bo β€” the xe_bo to be mapped. the guest of honor fr fr πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen: this one is used to restore a GGTT mapping after suspend. that's it. that's the whole plot. she wakes up from the nap and puts the mapping back where it belongs, no cap βœ¨πŸ˜΄βž‘οΈπŸ’…


πŸ’œ SEE ALSO πŸ’œ

the whole extended friend group, lowkey iconic:

  • Kernel file ./drivers/gpu/drm/xe/xe_ggtt.c
  • Global Graphics Translation Table (GGTT)(9)
  • struct xe_ggtt_node(9)
  • struct xe_ggtt_pt_ops(9)
  • struct xe_ggtt(9)
  • xe_ggtt_start(9)
  • xe_ggtt_size(9)
  • xe_ggtt_alloc(9)
  • xe_ggtt_init_early(9)
  • xe_ggtt_node_remove(9)
  • xe_ggtt_init(9)
  • xe_ggtt_shift_nodes(9)
  • xe_ggtt_insert_node(9)
  • xe_ggtt_node_pt_size(9)
  • xe_ggtt_map_bo(9)
  • xe_ggtt_insert_node_transform(9)
  • xe_ggtt_insert_bo_at(9)
  • xe_ggtt_insert_bo(9)
  • xe_ggtt_remove_bo(9)
  • xe_ggtt_largest_hole(9)
  • xe_ggtt_assign(9)
  • xe_ggtt_node_save(9)
  • xe_ggtt_node_load(9)
  • xe_ggtt_dump(9)
  • xe_ggtt_print_holes(9)
  • xe_ggtt_encode_pte_flags(9)
  • xe_ggtt_read_pte(9)
  • xe_ggtt_node_addr(9)
  • xe_ggtt_node_size(9)

and that's the whole page, bestie β€” no crumbs left behind πŸ“

this lil masterpiece lives at ./drivers/gpu/drm/xe, dated October 2026, and it's literally xe_ggtt_map_bo_unlocked(9) β€” slay, bye πŸ‘‘πŸ’–

πŸ“¦ where this page comes from