drm_fb_helper_setcmap(9)
π drm_fb_helper_setcmap(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil function page and honestly? she's short but she ATE. let's get into it π«Ά
πΈ NAME πΈ
drm_fb_helper_setcmap β literally the implementation for &fb_ops.fb_setcmap π no cap, that's the whole vibe. she's the muscle behind that callback, periodt.
β¨ SYNOPSIS β¨
int drm_fb_helper_setcmap (struct fb_cmap *cmap , struct fb_info *info );
that's it. that's the signature. take it in, it's giving "small but mighty" π
π ARGUMENTS π
cmapβ the cmap you wanna set. that's it, that's the whole thing. the colormap in question π¨infoβ the fbdev that got registered by the helper. like, the whole helper's fbdev situation π¦
π SEE ALSO π
okay this is the part where she name-drops EVERYONE. the whole friend group. the whole group chat π₯°
- Kernel file
./drivers/gpu/drm/drm_fb_helper.c - fbdev helpers(9)
drm_fb_helper_restore_fbdev_mode_unlocked(9)drm_fb_helper_blank(9)drm_fb_helper_prepare(9)drm_fb_helper_unprepare(9)drm_fb_helper_init(9)drm_fb_helper_unregister_info(9)drm_fb_helper_fini(9)drm_fb_helper_deferred_io(9)drm_fb_helper_set_suspend(9)drm_fb_helper_set_suspend_unlocked(9)drm_fb_helper_ioctl(9)drm_fb_helper_check_var(9)drm_fb_helper_set_par(9)drm_fb_helper_pan_display(9)drm_fb_helper_fill_info(9)drm_fb_helper_initial_config(9)drm_fb_helper_hotplug_event(9)drm_fb_helper_gem_is_fb(9)
like, the entire roster fr fr π go read about all of them, iykyk π
ngl this page is short enough that you have zero excuse not to remember it. go off, bestie π
and that's the page!! mwah π she lives in ./drivers/gpu/drm, dated October 2026, and she's officially drm_fb_helper_setcmap(9) β catch you in the next manpage, love u bye ππ§β
π¦ 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