pm_vt_switch_required(9)
π NAME π
okay so bestie, this page is pm_vt_switch_required(9) from the Kernel API Manual, and it's literally the routine that indicates VT switch requirements at suspend. iconic little power-management behavior, no cap β¨
β¨ SYNOPSIS β¨
int pm_vt_switch_required (struct device *dev , bool required );
π ARGUMENTS π
devβ device π«Άrequiredβ if true, caller needs VT switch at suspend/resume time π
π¦ DESCRIPTION π¦
so like, the different console drivers may or may not require VT switches across suspend/resume, depending on how they handle restoring video state and what may be running. it's giving "it depends", but make it kernel power management πΈ
Drivers can indicate support for switchless suspend/resume, which can save time and flicker, by using this routine and passing 'false' as the argument. yes bestie, 'false' is the whole vibe when a driver is like "nah, I don't need a VT switch" πβ¨
π¨ vibe check: if any loaded driver needs VT switching, or the no_console_suspend argument has been passed on the command line, VT switches will occur. that's the rule, periodt π
π SEE ALSO π
- Kernel file
./kernel/power/console.cπ pm_vt_switch_unregister(9)π§
later bestie π«Ά this one lives under ./kernel/power, it's dated October 2026, and the manual name is pm_vt_switch_required(9) β slay and goodbye π
β¨π
π¦ 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