⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module dpms

Module dpms 

Source
Expand description

DPMS (Display Power Management Signaling) for x86_64.

Controls display power states via VGA register manipulation. Supports DPMS states: On, Standby, Suspend, Off. Includes an idle timer that transitions the display to lower power states after configurable inactivity periods.

When DPMS is Off, framebuffer blits should be skipped to save CPU/bus bandwidth.

Enums§

DpmsState
Display power management states per VESA DPMS specification.

Functions§

dpms_get_idle_timeout
Get the current idle timeout in seconds.
dpms_get_state
Get the current DPMS state.
dpms_idle_tick
Tick the idle timer (called from the scheduler/timer interrupt).
dpms_init
Initialize the DPMS subsystem.
dpms_reset_idle
Reset the idle timer.
dpms_set_idle_timeout
Set the DPMS idle timeout in seconds.
dpms_set_state
Set the display DPMS state.
is_framebuffer_suppressed
Check whether the framebuffer should skip blitting (DPMS not On).