STRUCT DRM_FB_HELPER_FUNCS(9)
β¨ struct drm_fb_helper_funcs(9) β¨
okay so bestie, welcome to the kernel API manual π
this one's all about struct drm_fb_helper_funcs β and no, that's not a typo, it's literally the driver callbacks for the fbdev emulation library π
πΈ NAME πΈ
struct drm_fb_helper_funcs β driver callbacks for the fbdev emulation library π¦
β¨ SYNOPSIS β¨
lowkey here's the whole struct, character for character, no cap:
struct drm_fb_helper_funcs {
int (*fb_dirty)(struct drm_fb_helper *helper, struct drm_clip_rect
*clip);
void (*fb_restore)(struct drm_fb_helper *helper);
void (*fb_set_suspend)(struct drm_fb_helper *helper, bool suspend);
};
π Members π
π fb_dirty
Driver callback to update the framebuffer memory. If it's set, fbdev emulation will invoke this callback in regular intervals after the framebuffer has been written.
This callback is optional π«Ά
Returns: 0 on success, or an error code otherwise.
π fb_restore
Driver callback to restore internal fbdev state. If set, fbdev emulation will invoke this callback after restoring the display mode.
π Only for i915. Do not use in new code.
TODO: Fix i915 to not require this callback π
π¦ fb_set_suspend
Driver callback to suspend or resume β if it's set, fbdev emulation will invoke this callback during suspend and resume. Driver should call fb_set_suspend from their implementation. If it's not set, fbdev emulation will invoke fb_set_suspend directly.
π Only for i915. Do not use in new code.
TODO: Fix i915 to not require this callback π
β Description β
Driver callbacks used by the fbdev emulation helper library. that's the whole vibe, honestly β¨
π SEE ALSO π
- Kernel file
./include/drm/drm_fb_helper.hπ struct drm_fb_helper_surface_size(9)struct drm_fb_helper(9)DRM_FB_HELPER_DEFAULT_OPS(9)
okay that's the whole page bestie, you ate that π«Ά this came from ./include/drm, dated October 2026, and it's filed under struct drm_fb_helper_funcs(9) β periodt ππ§
π¦ 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