drm_mode_config_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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.h struct
  • 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