xe_mmio_gem_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_mmio_gem_create(9) β€” Kernel API Manual πŸ’–

okay so bestie, this is the page for xe_mmio_gem_create, straight out of the Kernel API Manual. It's giving "expose an MMIO region to userspace" energy, and we're gonna walk through every single detail together. 🫢

🌸 NAME 🌸

xe_mmio_gem_create β€” Expose an MMIO region to userspace ✨

✨ SYNOPSIS ✨

struct xe_mmio_gem * xe_mmio_gem_create (struct xe_device *xe , struct
       drm_file *file , phys_addr_t phys_addr , size_t size );

That's the signature, character for character, no edits. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • xe β€” The xe device. literally the device in question. πŸ’œ
  • file β€” DRM file descriptor. πŸŽ€
  • phys_addr β€” Start of the exposed MMIO region. 🌸
  • size β€” The size of the exposed MMIO region. πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

Okay so this function creates a GEM object that exposes an MMIO region with an mmap-able fake offset. That's the whole plot, no cap. πŸ“

See: "Exposing MMIO regions to userspace" β€” yes, that's the reference they point at. 🌈

πŸ‘‘ SEE ALSO πŸ‘‘


🫢 cute sign-off bestie: the source/version line says ./drivers/gpu/drm/xe, the date on this one is October 2026, and the manual tag is xe_mmio_gem_create(9). periodt. πŸ’œ
πŸ“¦ where this page comes from