xe_ttm_vram_mgr_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

xe_ttm_vram_mgr_init β€” initialize TTM VRAM region.

Okay bestie, this page is from the Kernel API Manual, and it's giving β€œset up the Xe TTM VRAM region” main character energy. πŸ’…

✨ SYNOPSIS ✨

int xe_ttm_vram_mgr_init (struct xe_device *xe , struct xe_vram_region
       *vram );

πŸ’… ARGUMENTS πŸ’…

  • xe β€” pointer to Xe device. That's the device pointer, periodt. 🫢
  • vram β€” pointer to xe_vram_region that contains the memory region attributes. So it's the region info bestie, with all the attributes tucked in. πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

Initialize the Xe TTM for the given vram region using the given parameters. Like, set it up, make it official, let it be known. ✨

Return check: returns 0 for success, negative error code otherwise. So 0 is the slay; a negative error code is the β€œnot me” moment. 😭

🌈 SEE ALSO 🌈

  • Kernel file: ./drivers/gpu/drm/xe/xe_ttm_vram_mgr.c

Cute sign-off, bestie: this page is from ./drivers/gpu/drm/xe, dated October 2026, and it's xe_ttm_vram_mgr_init(9). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from