DRM_SIMPLE_MODE(9)
π DRM_SIMPLE_MODE(9) π
okay so bestie, welcome to the DRM_SIMPLE_MODE page from the Kernel API Manual β this one's short and sweet and honestly kind of iconic for it β¨
πΈ NAME πΈ
DRM_SIMPLE_MODE β Simple display mode. that's it. that's the whole vibe. no cap, it's giving "minimalist main character" π
β¨ SYNOPSIS β¨
DRM_SIMPLE_MODE (hd , vd , hd_mm , vd_mm );
like, literally just pass four things in and you're done π«Ά
π¦ ARGUMENTS π¦
hdβ Horizontal resolution, width. the β¨horizontalβ¨ of it all, bestie.vdβ Vertical resolution, height. yeah, the up-and-down one πhd_mmβ Display width in millimeters. physical width, fr fr β we're talking actual real-world millimeters here, not pixels π₯vd_mmβ Display height in millimeters. same energy, but vertical π
π DESCRIPTION π
okay so here's the tea π β this macro initializes a drm_display_mode that only contains info about resolution and physical size. that's it. nothing else. no extra baggage, no drama, just the bare essentials. it's giving "capsule wardrobe" energy ngl πβ¨
lowkey important: it says only β so don't go expecting anything else to be filled in, because bestie, it won't be π
π SEE ALSO π
- Kernel file
./include/drm/drm_modes.hβ the β¨canonicalβ¨ source of truth, iykyk enum drm_mode_status(9)DRM_MODE_RES_MM(9)DRM_MODE_INIT(9)struct drm_display_mode(9)DRM_MODE_FMT(9)DRM_MODE_ARG(9)drm_mode_is_stereo(9)
go read those if you want the full lore, bestie β this is like the trailer, those are the whole cinematic universe π¬π
alright that's the whole page, you ate that π this beauty lives in ./include/drm, dated October 2026, and it's DRM_SIMPLE_MODE(9) out β stay slay, stay compiled, and remember: resolution and physical size, nothing more π§ββοΈπΈ
π¦ 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