pm_vt_switch_required(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


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