with_intel_gt_pm_if_awake(9)
π with_intel_gt_pm_if_awake(9) π
okay so bestie, this little icon is from the Kernel API Manual, and it's here to explain one very specific vibe: checking if the GT is PM awake, grabbing a reference so it stays awake, running some code, and then asynchronously putting that reference away. slay. β¨
π NAME π
with_intel_gt_pm_if_awake β if the GT is PM awake, get a reference to prevent it from going to sleep, run some code, and then asynchronously put the reference away. that's the whole plot, no cap. π
π¦ SYNOPSIS π¦
the summoning circle looks like this, exactly:
with_intel_gt_pm_if_awake (gt , wf );
πΈ ARGUMENTS πΈ
gtβ pointer to thegt. yes bestie, that's literally it. πwfβ pointer to a temporary wakeref. iconic little temporary-reference moment. π«Ά
β SEE ALSO β
- Kernel file
./drivers/gpu/drm/i915/gt/intel_gt_pm.h
lowkey that's the entire page. short, sweet, and absolutely doing the most with the least. πβ¨
and that's a wrap, bestie β source/version: ./drivers/gpu/drm/i915/gt, date: October 2026, page: with_intel_gt_pm_if_awake(9). mwah. ππ
π¦ 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