xe_pm_runtime_get_ioctl(9)
π xe_pm_runtime_get_ioctl(9) π
okay bestie, welcome to the Kernel API Manual page for xe_pm_runtime_get_ioctl β yes, the function name is also the title, we love a self-referential moment β¨.
πΈ NAME πΈ
xe_pm_runtime_get_ioctl β Get a runtime_pm reference before ioctl π
β¨ SYNOPSIS β¨
int xe_pm_runtime_get_ioctl (struct xe_device *xe );
π ARGUMENTS π
xeβ xe device instance π«Ά
π¦ DESCRIPTION π¦
So hereβs the tea, bestie: when possible, scope-based runtime PM (through ACQUIRE(xe_pm_runtime_ioctl, ...)) is preferred over direct usage of this function. No cap, scope-based is the main character when it fits.
Manual get/put handling should only be used when the function contains goto-based logic which can break scope-based handling, or when the lifetime of the runtime PM reference does not match a specific scope (e.g., runtime PM obtained in one function and released in a different one). Thatβs the whole vibe check: manual handling is for those specific situations, not just because you feel like it π.
π₯ RETURN π₯
Any number greater than or equal to 0 for success, negative error code otherwise. Slay π
.
π SEE ALSO π
the whole squad is here, no one left behind:
- Kernel file
./drivers/gpu/drm/xe/xe_pm.cXe 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_init_early(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_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)
mwah π this cutie lives in ./drivers/gpu/drm/xe, is dated October 2026, and is filed under xe_pm_runtime_get_ioctl(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