drm_hdmi_compute_mode_clock(9)
Bestie, welcome to the drm_hdmi_compute_mode_clock(9) page in the Kernel API Manual β it's giving HDMI clock math and I'm obsessed β¨
π NAME π
drm_hdmi_compute_mode_clock - Computes the TMDS Character Rate π
β¨ SYNOPSIS β¨
The whole signature, no cap:
unsigned long long drm_hdmi_compute_mode_clock (const struct
drm_display_mode *mode , unsigned int bpc , enum drm_output_color_format
fmt );
π¦ ARGUMENTS π¦
modeβ Display mode to compute the clock for π°οΈbpcβ Bits per character πfmtβ Output Pixel Format used π
π DESCRIPTION π
Returns the TMDS Character Rate for a given mode, bpc count and output format. Literally that's the whole vibe: mode + bpc + fmt in, TMDS Character Rate out π
πΈ RETURN πΈ
The TMDS Character Rate, in Hertz, or 0 on error. So if it's not clocking, it's giving 0, bestie π
π«Ά SEE ALSO π«Ά
Kernel file: ./drivers/gpu/drm/display/drm_hdmi_helper.c π
Also check out these function besties:
drm_hdmi_infoframe_set_hdr_metadata(9)drm_hdmi_avi_infoframe_colorimetry(9)drm_hdmi_avi_infoframe_bars(9)drm_hdmi_avi_infoframe_content_type(9)drm_hdmi_acr_get_n_cts(9)
Sending hugs from ./drivers/gpu/drm/display, October 2026 β bye bestie! π
π¦ 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