drm_mode_set...fig_internal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_mode_set...fig_internal(9) β€” Kernel API Manual, bestie edition ✨

okay so welcome to the group chat, the manual name is drm_mode_set...fig_internal(9) and yes the title got truncated in the header, that's just how it is, we don't gatekeep 🫢


🌸 NAME 🌸

drm_mode_set_config_internal β€” the helper that calls &drm_mode_config_funcs.set_config for you πŸ’«


πŸŽ€ SYNOPSIS πŸŽ€

int drm_mode_set_config_internal (struct drm_mode_set *set );

✨ ARGUMENTS ✨

  • set β€” the modeset config you wanna set, that's her, that's the main character πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: this is a little helper that wraps up the internal calls to the drm_mode_config_funcs.set_config driver interface. like, it's basically a hype friend who does the introduction for you 🀝

the only extra thing it brings to the table? a correct refcounting dance πŸ’ƒ no cap, that's genuinely the whole flex β€” it does the refcount choreography properly so you don't have to.

important bestie warning: this should only be used by non-atomic legacy drivers. fr fr, legacy only. if you're atomic, this is not your era πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

  • Zero on success πŸŽ‰
  • negative errno on failure 😭 (yeah, negative, it's giving "read the errno, babe")

⭐ SEE ALSO ⭐

the whole friend group, in order, no one left out πŸ’–


aaaand that's the page! 🌈 this whole thing lives under ./drivers/gpu/drm, dated October 2026 β€” so like, remember the source and the date, iykyk πŸ“…πŸ«Ά slay, go set some configs, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from