drm_fb_helper_gem_is_fb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” your fb_helper instance, and bestie… it can be NULL. No pressure. πŸ™ˆ
  • obj β€” the GEM object you're testing, and yeah, this can be NULL too. 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 always false if either pointer is NULL. Like, zero drama, zero surprises β€” NULL in, false out, 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:


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