drm_get_edid(9)
π drm_get_edid π
okay bestie, welcome to the drm_get_edid(9) page from the Kernel API Manual β yes this is a kernel function, we're in the big leagues now, and no cap it's actually way simpler than it sounds π«Ά
β¨ NAME β¨
drm_get_edid β get EDID data, if available πΈ
π¦ SYNOPSIS π¦
struct edid * drm_get_edid (struct drm_connector *connector , struct i2c_adapter *adapter );
literally just two arguments, both pointers, and it hands you back a struct edid * β the way that signature ate π
π ARGUMENTS π
connectorβ the connector we're probing π like, the thing on the graphics side we're trying to learn stuff aboutadapterβ the I2C adapter to use for DDC β
π DESCRIPTION π
so here's the vibe: we poke the given I2C channel (adapter) to grab the EDID data if possible β think of it as a little "hey bestie, u up? send ur display info" text π₯Ί
and if we do find it, we attach it to the connector. that's it. that's the whole function. main character energy but make it minimal π§
π RETURN π
A pointer to a valid EDID β or NULL if we couldn't find any π (yes, you gotta check it, please check it, do it for me π)
π SEE ALSO π
the kernel file you wanna look at lives right here: ./drivers/gpu/drm/drm_edid.c π
and here's the whole friend group, all the siblings and cousins, every single one 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_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_get_monitor_name(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)
and that's the whole page bestie!! β¨ this cutie lives in the ./drivers/gpu/drm directory (the <italic>Kernel API Manual</italic> corner of the universe, iykyk) and this version is dated October 2026 β go forth and probe that DDC, you're gonna slay π
π
π¦ 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