xe_pm_init_early(9)
π xe_pm_init_early(9) β like, the manual page, bestie π
okay so this is a page from the Kernel API Manual (section 9, kernel-API land β¨), and it's all about xe_pm_init_early β the little function that gets Xe Power Management started. no cap, it's the opening act π
πΈ NAME πΈ
xe_pm_init_early β Initialize Xe Power Management. that's it, that's the whole vibe check π
β¨ SYNOPSIS β¨
int xe_pm_init_early (struct xe_device *xe );
like, it takes one thing and hands you back an int. simple. iconic. π
π«Ά ARGUMENTS π«Ά
xeβ thexe_deviceinstance. that's your device babe, it's giving main character energy and it's the only thing you're passing in π
π¦ DESCRIPTION π¦
so what it does is initialize everything that's a "software-only" state β like, the stuff that lives purely in software and does not need access to any of the device's hardware data. none of that hardware-touching drama, we're staying in our lane πβ¨
think of it as setting up the vibes before anyone goes near the actual silicon. lowkey important, highkey chill π
π RETURN π
0on success π- a negative error code on failure π (so, like, always check it, bestie β don't just assume it slayed)
π SEE ALSO π
the whole friend group, fr fr β go read these too:
- Kernel file
./drivers/gpu/drm/xe/xe_pm.c Xe Power Management(9)xe_pm_might_block_on_suspend(9)xe_pm_block_on_suspend(9)xe_rpm_reclaim_safe(9)xe_pm_suspend(9)xe_pm_resume(9)xe_pm_probe(9)xe_pm_init(9)xe_pm_fini(9)xe_pm_runtime_suspended(9)xe_pm_runtime_suspend(9)xe_pm_runtime_resume(9)xe_pm_runtime_get(9)xe_pm_runtime_put(9)xe_pm_runtime_get_ioctl(9)xe_pm_runtime_get_if_active(9)xe_pm_runtime_get_if_in_use(9)xe_pm_runtime_get_noresume(9)xe_pm_runtime_resume_and_get(9)xe_pm_assert_unbounded_bridge(9)xe_pm_set_vram_threshold(9)xe_pm_d3cold_allowed_toggle(9)xe_pm_module_init(9)
like yes that's a lot of cross-refs but they're all literally part of the family π«Ά
ngl if you're here you're probably deep in drivers/gpu/drm/xe and honestly? respect. π
π₯
and that's a wrap!! πΈ this cutie pie of a page comes from ./drivers/gpu/drm/xe, dated October 2026, and it's living its best life under the Kernel API Manual banner. mwah, bye bestie ππβ¨
π¦ 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