xe_mmio_gem_create(9)
π 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 π
- Kernel file
./drivers/gpu/drm/xe/xe_mmio_gem.cπ Exposing MMIO regions to userspace(9)xe_mmio_gem_mmap_offset(9)xe_mmio_gem_destroy(9)
π«Ά 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 isxe_mmio_gem_create(9). periodt. π
π¦ 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