drm_detect_monitor_audio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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