drm_av_sync_delay(9)
β¨ drm_av_sync_delay β¨
okay so bestie, this is a page from the Kernel API Manual, and it's all about drm_av_sync_delay β the little function that computes the HDMI/DP sink audio-video sync delay. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
int drm_av_sync_delay (struct drm_connector *connector , const struct
drm_display_mode *mode );
literally just hand it a connector and a mode and it does the math. slay. β¨
π ARGUMENTS π
connectorβ the connector that's associated with the HDMI/DP sink. like, the actual plug/socket bestie, not the monitor's whole personality.modeβ the display mode. you know, the resolution-and-timings situation.
π RETURN π
it gives you back the HDMI/DP sink's audio-video sync delay, measured in milliseconds. π
but if the sink doesn't support audio or video? it returns 0. no delay, no drama, no notes. π
π¦ SEE ALSO π¦
these all live in the kernel file ./drivers/gpu/drm/drm_edid.c, so it's giving EDID main-character energy fr fr. go read them, they're iconic π:
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_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)
that's the whole page, no cap. every option, every ref, every fact β all here. π«Ά
and that's the wrap, bestie!! this cutie lives in ./drivers/gpu/drm, it's dated October 2026, and the page is literally just drm_av_sync_delay(9) β same name, same energy. go sync those A/V vibes ππ
π¦ 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