drm_detect_hdmi_monitor(9)
π drm_detect_hdmi_monitor(9) π
okay so this is a page from the Kernel API Manual, and bestie, it is so much shorter than that SEE ALSO list would have you believe. let's get into it π«Ά
β¨ NAME β¨
drm_detect_hdmi_monitor β literally just: does this monitor speak HDMI or not π
πΈ SYNOPSIS πΈ
bool drm_detect_hdmi_monitor (const struct edid *edid );
it returns a bool, it takes one const struct edid *, that's the whole vibe β¨
π ARGUMENTS π
edidβ the monitor's EDID information. that's the little blob of self-describing data the display hands over so the kernel knows what it's dealing with π
π¦ DESCRIPTION π¦
so what it actually does: it parses the CEA extension, and it does that according to CEA-861-B. no cap, that's the spec it's following β¨
important heads-up, bestie π¨ if you're a driver and you've already added the modes parsed from EDID intodrm_display_info, do not call this function. usedrm_display_info.is_hdmiinstead. like, the info is right there already, why would you go ask again π
π RETURN π
Trueβ the monitor is HDMI πfalseβ it's not HDMI, or it's unknown π€·ββοΈ
π SEE ALSO π
the kernel file for all this lives at ./drivers/gpu/drm/drm_edid.c β that's the mothership π
and now, the friend group π
(all of these are (9) section pages):
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_get_monitor_name(9)drm_edid_to_sad(9)drm_edid_to_speaker_allocation(9)drm_av_sync_delay(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, you ate that π this one ships out of ./drivers/gpu/drm, stamped October 2026, and it's still filed under drm_detect_hdmi_monitor(9) in the Kernel API Manual. periodt π
β¨
π¦ 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