drm_fb_helper_set_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ drm_fb_helper_set_suspend(9) πŸ’€

okay so bestie, welcome to the Kernel API Manual entry for drm_fb_helper_set_suspend β€” it's a tiny little wrapper function and honestly it's giving "small but mighty" energy πŸŽ€


✨ NAME ✨

drm_fb_helper_set_suspend β€” it's literally just a wrapper around fb_set_suspend, no cap 🫢


🌸 SYNOPSIS 🌸

void drm_fb_helper_set_suspend (struct drm_fb_helper *fb_helper , bool suspend );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fb_helper β€” the driver-allocated fbdev helper πŸ’… and yes, it can be NULL, we love a flexible icon.
  • suspend β€” whether to suspend or resume. that's it. that's the bool. πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

So basically this is a wrapper around fb_set_suspend, which is implemented by fbdev core β€” that's the whole vibe. 🌈

But listen: if you don't need to take the lock yourself, use drm_fb_helper_set_suspend_unlocked instead. iykyk 😌

fr fr, pick the right one β€” the unlocked version exists for a reason, bestie πŸ’–

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/drm_fb_helper.c β€” and the whole friend group:


⭐ and that's the whole page, bestie! sourced from ./drivers/gpu/drm, dated October 2026, straight out of the Kernel API Manual β€” slay, go suspend something responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from