drm_client_modeset_commit(9)
π drm_client_modeset_commit(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little kernel function called drm_client_modeset_commit. she's short, she's sweet, she commits CRTC config, and honestly? iconic behaviour. let's get into it π
β¨ NAME β¨
drm_client_modeset_commit β Commit CRTC configuration π
π¦ SYNOPSIS π¦
int drm_client_modeset_commit (struct drm_client_dev *client );
like yes that's the whole signature, she's not doing too much, love that for her β¨
πΈ ARGUMENTS πΈ
clientβ the DRM client π«Ά that's it, that's the argument. the DRM client. main character of this function fr fr.
π DESCRIPTION π
so basically the whole vibe here is: commit modeset configuration to crtcs π₯
like, it takes the modeset configuration and commits it. to the crtcs. periodt. no cap, that's literally the entire description and honestly sometimes a function just knows what she is π β¨
β RETURN β
- Zero on success π (slay)
- negative error code on failure π (not slay, but we move)
it's giving "just check the return value bestie" energy, iykyk π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_client_modeset.cβ the source file, go read her, she's right there π drm_client_modeset_probe(9)drm_client_rotation(9)drm_client_modeset_check(9)drm_client_modeset_commit_locked(9)drm_client_modeset_dpms(9)drm_client_modeset_wait_for_vblank(9)
the whole friend group honestly, go say hi to all of them π§π
ngl if you're here because a commit failed, check that return value first β it will tell you what's up. negative error code means something went sideways, and she's not gonna sugarcoat it π
and that's the page bestie!! this one came to us from ./drivers/gpu/drm, dated October 2026 β mwah, thank you for reading, drink some water, and may all your commits return zero πππ
π¦ 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