drm_edid_raw(9)
πΈ drm_edid_raw π
okay so this is a page from the Kernel API Manual, bestie, and it's about one single tiny function that lives rent-free in my head because it's literally the shortest manpage ever and the vibes are immaculate. Buckle up π
β¨ NAME β¨
drm_edid_raw β get a pointer to the raw EDID data. that's it. that's the function. π«Ά
π¦ SYNOPSIS π¦
const struct edid * drm_edid_raw (const struct drm_edid *drm_edid );
like, copy that exactly pls, don't be cute with it β¨
π ARGUMENTS π
drm_edidβ thedrm_edidcontainer. it's giving "wrapper around the actual data" energy π
π DESCRIPTION π
so what it does is: get a pointer to the raw EDID data. that's the whole thing. no cap.
but here's the part where I grab your shoulders and shake you gently π β this is for transition only. the manpage literally says avoid using this like the plague. like, the plague. actual plague. not "meh, avoid it", PLAGUE levels of avoid. so if you're reaching for this in new code, no π«Ά please don't, it's a temporary escape hatch and it knows it.
π RETURN π
a pointer to the raw EDID data. π
π SEE ALSO π
okay this is where it gets unhinged because this page has, like, a whole squad of friends and I'm listing every single one of them because I would never do them dirty π
the kernel file lives at ./drivers/gpu/drm/drm_edid.c and here's the full crew:
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_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_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)
forty of them. I counted. obsessed with the commitment honestly π₯
ngl if you made it through that list you're a real one. go read drm_edid_read(9) instead of this one, iykyk π
alright bestie that's the whole page π this lil gem comes from the kernel tree out of ./drivers/gpu/drm, stamped October 2026, and it's part of the Kernel API Manual β slay, periodt, go drink some water and stop using the plague function πΈβ¨π§
π¦ 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