drm_client_rotation(9)
π« drm_client_rotation(9) π«
okay so welcome to the drm_client_rotation page, bestie β this is one of those Kernel API Manual entries from the DRM corner of the kernel, and honestly it's a little cutie. let's get into it π
β¨ NAME β¨
drm_client_rotation β check the initial rotation value π
β¨ SYNOPSIS β¨
bool drm_client_rotation (struct drm_mode_set *modeset , unsigned int
*rotation );
like, it returns a bool, takes your modeset, and hands you back a rotation through a pointer. classic. π
β¨ ARGUMENTS β¨
modesetβ the DRM modeset πΈ (yes, that's the whole description, she's mysterious)rotationβ the rotation value it returns back to you π«Ά
β¨ DESCRIPTION β¨
so what does she do? This function checks whether the primary plane inside modeset can hw rotate to match the rotation that's needed on its connector. that's it, that's the vibe check β
β¨ NOTE β¨
π¨ important, no cap: currently only0and180degrees are supported. that's the whole range. don't come at her asking for 90. π
β¨ RETURN β¨
True if the plane can do the rotation, false otherwise. simple as that, fr fr π
β¨ SEE ALSO β¨
go peek at the kernel file ./drivers/gpu/drm/drm_client_modeset.c β the real main character energy lives there π
and also these icons:
drm_client_modeset_probe(9)drm_client_modeset_check(9)drm_client_modeset_commit_locked(9)drm_client_modeset_commit(9)drm_client_modeset_dpms(9)drm_client_modeset_wait_for_vblank(9)
kk that's the page!! π¦ this lil number lives over in ./drivers/gpu/drm, dated October 2026, and she goes by drm_client_rotation(9). mwah, study hard bestie ππΈβ¨
π¦ 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