drm_fbdev_client_setup(9)
okay so bestie, welcome to the drm_fbdev_client_setup(9) page from the Kernel API Manual πΈ β we're doing kernel DRM fbdev emulation today and it's lowkey iconic.
β¨ NAME β¨
drm_fbdev_client_setup β Setup fbdev emulation π
π¦ SYNOPSIS π¦
int drm_fbdev_client_setup (struct drm_device *dev , const struct drm_format_info *format );
π ARGUMENTS π
devβ the DRM device πformatβ the preferred color format for the device. If this is zero,DRM_FORMAT_XRGB8888is used π
π DESCRIPTION π
okay so this function sets up fbdev emulation β¨. Restore, hotplug events and teardown are all taken care of β no cap, it's handled. Drivers that do suspend/resume need to call drm_client_dev_suspend and drm_client_dev_resume by themselves π«Ά. Simple drivers might use drm_mode_config_helper_suspend.
This function is safe to call even when there are no connectors present π. Setup will be retried on the next hotplug event π.
The fbdev client is destroyed by drm_dev_unregister π.
β RETURN β
0 on success, or a negative errno code otherwise πβ¨.
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/clients/drm_fbdev_client.c π
and that's the whole page, bestie π β source/version: ./drivers/gpu/drm/clients, dated October 2026, with drm_fbdev_client_setup(9) doing its little manual-name thing. 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