xe_device_probe_early(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_device_probe_early ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this one's a lil function that does the early vibes-only setup for an xe device, and honestly? it's giving "getting ready before the real getting ready" πŸ’…


πŸ’« NAME πŸ’«

xe_device_probe_early β€” Device early probe 🌸

like, the probe that happens early. the pregame probe. the wake-up-and-do-the-easy-stuff probe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int xe_device_probe_early (struct xe_device *xe );

that's it. one function, one arg, returns an int. iconic behavior honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xe β€” the xe device instance ✨ like, the actual device you're doing the early probe on. she's the main character here πŸŽ€

🌈 DESCRIPTION 🌈

so what does she actually do, you ask? 😭

she initializes the MMIO resources that don't require any knowledge about tile count β€” which is the whole point of doing this early, fr fr. no tile-count homework needed yet, we're just laying the groundwork 🧚

she also initializes pcode</>, and checks vram initialization on the root tile πŸ‘‘ that's the vibe check for vram on root, and yes it's part of this function, no cap πŸ’€


⭐ RETURN ⭐

  • 0 on success πŸŽ‰ slay
  • error code on failure 😭 it's giving "something went wrong, here's the number"

πŸ’œ SEE ALSO πŸ’œ

the whole friend group tag-along list, no one gets left behind 🫢

iykyk πŸ¦‹


and that's the whole page bestie, mwah πŸ’‹ this lil cutie lives in ./drivers/gpu/drm/xe and the version/date stamp on it is October 2026 β€” so yeah, future-coded but make it kernel 🌸🫢✨

πŸ“¦ where this page comes from