drm_client_modeset_dpms(9)
π drm_client_modeset_dpms(9) π
okay so bestie, welcome to the Kernel API Manual entry for drm_client_modeset_dpms β yes that's a whole mouthful, we're calling her the "Set DPMS mode" girlie from here on out β¨
πΈ NAME πΈ
drm_client_modeset_dpms β Set DPMS mode, that's the whole vibe π
π¦ SYNOPSIS π¦
int drm_client_modeset_dpms (struct drm_client_dev *client , int mode );
like, it takes a client and a mode and hands you back an int. simple. iconic. no notes π
β¨ ARGUMENTS β¨
clientβ the DRM client, aka the whole reason we're here π«Άmodeβ the DPMS mode you want to set, bestie π
π NOTE π
okay so listen up, this one matters: for atomic drivers, mode gets reduced to on/off. that's it, that's the note, no in-between, binary queen energy πβ¨
β RETURN β
- Zero on success π
- a negative error code on failure π
fr fr, check it. don't just assume it slayed.
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/drm_client_modeset.cβ the source, go read her π drm_client_modeset_probe(9)drm_client_rotation(9)drm_client_modeset_check(9)drm_client_modeset_commit_locked(9)drm_client_modeset_commit(9)drm_client_modeset_wait_for_vblank(9)
like the whole friend group, honestly π§π
and that's the page, bestie π she lives in ./drivers/gpu/drm, dated October 2026 in this here Kernel API Manual β mwah, go forth and set those DPMS modes π
π¦π
π¦ 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