drm_edid_dup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_edid_dup(9)

bestie, welcome to the Kernel API Manual page for drm_edid_dup(9) β€” yes the (9) is part of the name, it's giving kernel-section realness πŸ‘‘


🌸 NAME 🌸

drm_edid_dup β€” duplicate a drm_edid container ✨

like, you have one and now you want two. iconic behavior honestly.

πŸ¦‹ SYNOPSIS πŸ¦‹

const struct drm_edid * drm_edid_dup (const struct drm_edid *drm_edid );

πŸŽ€ ARGUMENTS πŸŽ€

  • drm_edid β€” the EDID to duplicate πŸ’– (the original, the blueprint, the main character)

πŸ’… DESCRIPTION πŸ’…

so here's the thing, and this is the part nobody reads but everybody should: the returned pointer must be freed using drm_edid_free. not kfree, not vibes, not "it'll sort itself out" β€” drm_edid_free. that's the whole description and honestly it ate 🫢

⭐ RETURN ⭐

it hands you back a drm_edid container copy πŸ”₯ … or NULL on errors 😭 (no copy, no drama, just NULL)

🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/gpu/drm/drm_edid.c and here's the whole EDID cinematic universe, no skips:

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_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)

ok that's a lot of cross-references but every single one of them is here, I counted, we don't gatekeep on this page πŸ’œ

and that's the page!! 🧚 this one came to you straight out of ./drivers/gpu/drm, dated October 2026, shipped with the Kernel API Manual like the little legend it is. mwah, go free your pointers πŸ’‹πŸ“

πŸ“¦ where this page comes from