drm_atomic_helper_resume(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_atomic_helper_resume(9) β€” the Kernel API Manual glow-up

okay so bestie, you're in the Kernel API Manual and this is the page for drm_atomic_helper_resume β€” the subsystem-level resume helper. it's giving "wake up babe, we're bringing the display back" energy ✨


🌸 NAME 🌸

drm_atomic_helper_resume β€” the subsystem-level resume helper. that's it, that's the whole vibe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int drm_atomic_helper_resume (struct drm_device *dev , struct
       drm_atomic_commit *state );

two args, one int coming back at you. periodt πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the DRM device. your main character struct, literally the thing being resumed πŸ”₯
  • state β€” the atomic state to resume to. this is the snapshot you're restoring the whole look from, no cap πŸ‘‘

✨ DESCRIPTION ✨

so here's the tea, bestie 🍡 β€” this function calls drm_mode_config_reset to synchronize the hardware and software states (yes, they HAVE to agree, it's a whole thing), then it grabs all the modeset locks and commits the atomic state object. highkey a lot of steps but she does them all 🌈

you'd use this in conjunction with the drm_atomic_helper_suspend helper to implement suspend/resume for drivers that support atomic mode-setting. they're a matched set, like matching nails πŸ’…βœ¨

See also: drm_atomic_helper_suspend β€” the other half of this duo, iykyk 🫢


πŸ’– RETURN πŸ’–

0 on success, or a negative error code on failure. simple. iconic. no notes πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is LONG but every single one of these is a real one, bestie, don't skip any of them, I'm not gonna be the one who left one out 😭

that's fifty-three entries and I typed every one, you're welcome πŸ’€πŸŽ€


so yeah β€” this page lives in ./drivers/gpu/drm, dated October 2026, and that's the whole manual page, bestie. go forth and resume your displays. slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from