xe_device_probe_early(9)
β¨ 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 β
0on 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 π«Ά
- Kernel file
./drivers/gpu/drm/xe/xe_device.cπ xe_file_get(9)xe_file_put(9)xe_is_xe_file(9)xe_device_is_admin_only(9)xe_device_create(9)xe_device_init_early(9)xe_device_wmb(9)xe_device_is_l2_flush_optimized(9)xe_device_td_flush(9)xe_device_assert_mem_access(9)Xe Device Wedging(9)π₯ (yes, wedging, it's a whole thing)xe_device_set_wedged_method(9)xe_device_declare_wedged(9)xe_device_validate_wedged_mode(9)xe_wedged_mode_to_string(9)xe_device_asid_to_vm(9)
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
- 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