drm_mode_set...fig_internal(9)
π 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 π
- Kernel file
./drivers/gpu/drm/drm_crtc.coverview(9) drm_crtc_from_index(9)standard CRTC properties(9)drm_crtc_init_with_planes(9)drmm_crtc_init_with_planes(9)drm_crtc_cleanup(9)drm_mode_getcrtc(9)drm_crtc_check_viewport(9)drm_mode_setcrtc(9)drm_crtc_create_scaling_filter_property(9)drm_crtc_in_clone_mode(9)
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
- 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