xe_pm_runtime_get_noresume(9)
π xe_pm_runtime_get_noresume(9) β Kernel API Manual π
okay so this is the page for the runtime PM girlies who need to bump a counter without resuming anything. let's get into it, bestie π«Ά
π NAME π
xe_pm_runtime_get_noresume β Bump runtime PM usage counter without resuming
π» SYNOPSIS π»
void xe_pm_runtime_get_noresume (struct xe_device *xe );
πΈ ARGUMENTS πΈ
xeβ xe device instance
β¨ DESCRIPTION β¨
Okay so picture this: you're in an inner place in the code, and you are surely already protected by outer-bound callers of xe_pm_runtime_get. That is literally the vibe this function is for. It will warn if you're not protected β so don't just sneak it in somewhere random, bestie π
And no matter what, you still have to put the reference back after this function. It will always bump the usage counter, regardless. Yes, regardless of whatever else is going on. π
When possible, scope-based runtime PM (through guard(xe_pm_runtime_noresume)) is preferred over direct usage of this function. Manual get/put handling should only be used when:
- the function contains
goto-based logic which can break scope-based handling, or - 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).
π SEE ALSO π
- 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_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_ioctl(9)xe_pm_runtime_get_if_active(9)xe_pm_runtime_get_if_in_use(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 page comes from source/version ./drivers/gpu/drm/xe, dated October 2026, and it's the xe_pm_runtime_get_noresume(9) page. 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