DRM_MODE_ARG(9)
π DRM_MODE_ARG(9) β like, the printf args for a display mode, bestie
okay so real talk, this one lives in the Kernel API Manual and it is tiny but it is doing So Much for you, i promise π«Ά
β¨ NAME β¨
DRM_MODE_ARG β the actual printf arguments for &struct drm_display_mode
like. that's it. that's the whole job. it hands you the args so your printf-family call doesn't have to think about it π
πΈ SYNOPSIS πΈ
DRM_MODE_ARG (m );
no cap, that's the whole signature. one argument, in and out, main character energy π
π ARGUMENTS π
mβ the display mode. yeah. that's the one. your&struct drm_display_mode, freshly handed over, ready to be formatted β¨
π¦ SEE ALSO π¦
the friend group, assembled π β all of these are from the kernel file ./include/drm/drm_modes.h:
enum drm_mode_status(9)DRM_MODE_RES_MM(9)DRM_MODE_INIT(9)DRM_SIMPLE_MODE(9)struct drm_display_mode(9)DRM_MODE_FMT(9)drm_mode_is_stereo(9)
π quick vibe check: this page is genuinely just the formatting helper β if you're looking for the mode itself, go say hi to struct drm_display_mode(9) instead, she's the icon here π
and that's the whole page, bestie, go format something pretty π
mwah π β signed off from ./include/drm, dated October 2026, DRM_MODE_ARG(9) forever and always π§ββοΈ
π¦ 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