drm_edid_get_monitor_name(9)
π drm_edid_get_monitor_name(9) π
okay so bestie, welcome to the Kernel API Manual entry for drm_edid_get_monitor_name β the lil function whose whole personality is "grab the monitor's name out of the EDID" π
β¨ NAME β¨
drm_edid_get_monitor_name β fetch the monitor name from the edid π
πΈ SYNOPSIS πΈ
void drm_edid_get_monitor_name (const struct edid *edid , char *name ,
int bufsize );
like, that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
edidβ the monitor EDID information. this is the source of truth, the main character of the whole operation πnameβ a pointer to a character array that's gonna hold the name of the monitor. it's giving "here's an empty bowl, go fill it" πbufsizeβ the size of thenamebuffer, and bestie, it should be at least 14 chars. fr fr, don't skimp on this one π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_edid.c β that's where the actual code lives, go say hi π§
and like, the whole EDID friend group, literally all of them:
drm_edid_header_is_valid(9)drm_edid_is_valid(9)drm_edid_valid(9)drm_do_probe_ddc_edid(9)drm_edid_override_connector_update(9)drm_edid_raw(9)drm_edid_alloc(9)drm_edid_dup(9)drm_edid_free(9)drm_probe_ddc(9)drm_get_edid(9)drm_edid_read_custom(9)drm_edid_read_ddc(9)drm_edid_read(9)drm_edid_get_product_id(9)drm_edid_print_product_id(9)drm_edid_get_panel_id(9)drm_edid_read_base_block(9)drm_get_edid_switcheroo(9)drm_edid_read_switcheroo(9)drm_edid_duplicate(9)edid_get_quirks(9)drm_match_cea_mode(9)drm_display_mode_from_cea_vic(9)drm_edid_match(9)drm_edid_to_sad(9)drm_edid_to_speaker_allocation(9)drm_av_sync_delay(9)drm_detect_hdmi_monitor(9)drm_detect_monitor_audio(9)drm_default_rgb_quant_range(9)drm_edid_connector_update(9)drm_edid_connector_add_modes(9)drm_connector_update_edid_property(9)drm_add_edid_modes(9)drm_add_modes_noedid(9)drm_hdmi_avi_infoframe_from_display_mode(9)drm_hdmi_avi_infoframe_quant_range(9)drm_hdmi_vendor_infoframe_from_display_mode(9)drm_edid_is_digital(9)
like yes, that's a lot of them, and yes, they're all iconic π β¨
lowkey a reminder from your girl: that bufsize thing is at least 14 chars, okay? bestie behavior is checking your buffer size before you write into it π
so yeah, that's the page π shoutout to the kernel file ./drivers/gpu/drm and the version stamp October 2026 β this one's signed, sealed, and slayed, mwah ππ
π¦ 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