drm_fb_helper_gem_is_fb(9)
π drm_fb_helper_gem_is_fb π
okay so bestie, welcome to the drm_fb_helper_gem_is_fb(9) page β that's the Kernel API Manual, and this is literally the whole vibe check for one tiny question: does fbdev emulation use this GEM object as its framebuffer? Let's get into it π«Ά
β¨ NAME β¨
drm_fb_helper_gem_is_fb β Tests if GEM object is framebuffer π
π¦ SYNOPSIS π¦
bool drm_fb_helper_gem_is_fb (const struct drm_fb_helper *fb_helper ,
const struct drm_gem_object *obj );
π ARGUMENTS π
fb_helperβ yourfb_helperinstance, and bestieβ¦ it can beNULL. No pressure. πobjβ the GEM object you're testing, and yeah, this can beNULLtoo. Very forgiving energy. β¨
π₯ DESCRIPTION π₯
Call drm_fb_helper_gem_is_fb to test if a DRM device's fbdev emulation uses the specified GEM object for its framebuffer. That's it, that's the whole job β it's giving very focused main character energy. π
Heads up though: the result is alwaysfalseif either pointer isNULL. Like, zero drama, zero surprises βNULLin,falseout, periodt. π
π RETURN π
True if fbdev emulation uses the provided GEM object, or false otherwise. Simple as that, no cap. β
πΈ SEE ALSO πΈ
Kernel file ./drivers/gpu/drm/drm_fb_helper.c β fbdev helpers(9), and honestly the whole squad:
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_setcmap(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)
and that's the tea π this little icon lives in ./drivers/gpu/drm, the version vibes are October 2026, and it's all filed under drm_fb_helper_gem_is_fb(9). mwah, go read the source, ily, 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