xe_mmio_probe_early(9)
π xe_mmio_probe_early β NAME β¨
okay so bestie, this is xe_mmio_probe_early(9) from the Kernel API Manual, and no cap, it's giving "first day on the job" energy β it probes and initializes the device's MMIO π
πΈ SYNOPSIS πΈ
int xe_mmio_probe_early (struct xe_device *xe );
π«Ά ARGUMENTS π«Ά
xeβ literally thexe_device, that's the whole vibe. it's the thing you're poking at π
π₯ DESCRIPTION π₯
so what does it actually do, you ask? it maps the entire GTTMMADR_BAR and initializes the first tile's MMIO instance. iconic behavior, honestly β¨
and here's the tea about the memory map π β the first 16MB of the GTTMMADR_BAR always belongs to the root tile, and it includes:
- registers β
0-4MBπ - reserved space β
4MB-8MBπ (don't touch, it's reserved, respect the boundaries bestie) - GGTT β
8MB-16MBπ₯
that's the whole layout, periodt. memorize it like your fave's birthday π
β RETURN β
0on success π- a negative error code on failure π
π¦ SEE ALSO π¦
the kernel file is right here: ./drivers/gpu/drm/xe/xe_mmio.c β go read it, iykyk π
xe_mmio_probe_tiles(9)xe_mmio_init(9)xe_mmio_read64_2x32(9)xe_mmio_wait32(9)xe_mmio_wait32_not(9)xe_mmio_init_vf_view(9)
and that's the whole page, bestie!! this little gem lives in ./drivers/gpu/drm/xe, hails from October 2026, and answers to the name xe_mmio_probe_early(9). mwah π go map some MMIO, you got this π«Άβ¨
π¦ 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