drm_detect_monitor_audio(9)
π drm_detect_monitor_audio(9) π
okay so bestie, welcome to the drm_detect_monitor_audio page β it lives in the Kernel API Manual, and it's literally the vibe check for whether your monitor can do audio π
β¨ NAME β¨
drm_detect_monitor_audio β check monitor audio capability π§
πΈ SYNOPSIS πΈ
bool drm_detect_monitor_audio (const struct edid *edid );
π¦ ARGUMENTS π¦
edidβ the EDID block you want to scan, bestie. that's the thing we're snooping through π
π DESCRIPTION π
okay so here's the tea β β for this to work, the monitor should have a CEA extension block. that's the prerequisite, no cap.
now the actual logic, and it's kind of iconic:
- if the monitor has
'basic audio'but there are no CEA audio blocks β it's'basic audio'only. that's it. that's the whole vibe. - if there's any audio extension block and a supported audio format β we assume at least
'basic audio'support, even if'basic audio'isn't even defined in the EDID. yeah, we're being generous like that π«Ά
β RETURN β
True if the monitor supports audio, false otherwise. simple as that π«
π SEE ALSO π
kernel file ./drivers/gpu/drm/drm_edid.c β plus the whole friend group:
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_hdmi_monitor(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)
ngl this page is short but she ate π go read the whole EDID squad above, iykyk π
and that's the whole page bestie!! π this one's from ./drivers/gpu/drm, October 2026, and yes the title is still drm_detect_monitor_audio(9) β 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