drm_mode_set_name(9)
π drm_mode_set_name(9) β like, the glow-up name tag for your display mode β¨
okay bestie, welcome to the Kernel API Manual page for drm_mode_set_name(9). this one's short and sweet and honestly? iconic for how much it does with so little π
πΈ NAME πΈ
drm_mode_set_name β sets the name on a mode. that's it. that's the whole job. and she does it flawlessly π
β¨ SYNOPSIS β¨
void drm_mode_set_name (struct drm_display_mode *mode );
yes, it returns void. no return value, no drama, no notes. she just does the thing and leaves π
π¦ ARGUMENTS π¦
modeβ the name is gonna get set in this mode. like, this is the mode that receives the name. hand her the struct, she handles the rest π«Ά
π DESCRIPTION π
okay so here's the tea: drm_mode_set_name sets the name of mode to a standard format. and that format is literally:
<hdisplay>x<vdisplay>
plus an optional 'i' suffix for interlaced modes π₯ so like, horizontal display by vertical display, and if it's interlaced you get that little i on the end. no cap, that's genuinely the whole description. main character energy with zero filler π
π SEE ALSO π
the kernel file lives right here, bestie:
./drivers/gpu/drm/drm_modes.c
and now the friend group β everybody she's associated with, all of them, no one left out of the group chat π:
drm_mode_debug_printmodeline(9)drm_mode_create(9)drm_mode_destroy(9)drm_mode_probed_add(9)drm_analog_tv_mode(9)drm_cvt_mode(9)drm_gtf_mode_complex(9)drm_gtf_mode(9)drm_display_mode_from_videomode(9)drm_display_mode_to_videomode(9)drm_bus_flags_from_videomode(9)of_get_drm_display_mode(9)of_get_drm_panel_display_mode(9)drm_mode_vrefresh(9)drm_mode_get_hv_timing(9)drm_mode_set_crtcinfo(9)drm_mode_copy(9)drm_mode_init(9)drm_mode_duplicate(9)drm_mode_match(9)drm_mode_equal(9)drm_mode_equal_no_clocks(9)drm_mode_equal_no_clocks_no_stereo(9)drm_mode_validate_driver(9)drm_mode_validate_size(9)drm_mode_validate_ycbcr420(9)drm_mode_prune_invalid(9)drm_mode_compare(9)drm_mode_sort(9)drm_connector_list_update(9)drm_mode_parse_command_line_for_connector(9)drm_mode_create_from_cmdline_mode(9)drm_mode_convert_to_umode(9)drm_mode_convert_umode(9)drm_mode_is_420_only(9)drm_mode_is_420_also(9)drm_mode_is_420(9)drm_set_preferred_mode(9)
like, that's the whole squad. go read them too, iykyk π
lowkey a reminder bestie: everything above is exactly what the page says β i didn't invent any behaviour, so don't go assuming extra vibes that aren't written down π
and that's a wrap! π§ this gem comes from ./drivers/gpu/drm, stamped October 2026, and it's filed under drm_mode_set_name(9) β mwah, go name some modes, you absolute legend πβ¨πΈ
π¦ 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