drm_mode_config_init(9)
π NAME π
okay bestie, welcome to drm_mode_config_init(9) from the Kernel API Manual β this is all about DRM mode_configuration structure initialization, and yes it's giving kernel-internals realness π
β¨ SYNOPSIS β¨
int drm_mode_config_init (struct drm_device *dev );
π ARGUMENTS π
devβ the DRM device, aka the main character of this whole situation π«Ά
πΈ DESCRIPTION πΈ
So here's the tea: this is the unmanaged version of drmm_mode_config_init, and it exists for drivers which still explicitly call drm_mode_config_cleanup. No cap, that's literally its whole job.
FIXME: this function is deprecated π and drivers should be converted over to drmm_mode_config_init. Like, for real, this is the "please migrate bestie" warning.
π¦ SEE ALSO π¦
- Kernel file
./include/drm/drm_mode_config.hstruct drm_mode_config_funcs(9)struct drm_mode_config(9)
bestie, that's the whole vibe π signed off from ./include/drm β October 2026, drm_mode_config_init(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