drm_dp_dual...x_tmds_clock(9)
π drm_dp_dual_mode_max_tmds_clock β a Kernel API Manual moment π
okay bestie, so this is a page straight out of the Kernel API Manual, and it's about one (1) very specific little function that asks a DisplayPort dual-mode adaptor "hey girl, how fast can you go?" β¨
πΈ NAME πΈ
drm_dp_dual_mode_max_tmds_clock β literally just: the max TMDS clock for a DP dual mode adaptor π
π¦ SYNOPSIS π¦
int drm_dp_dual_mode_max_tmds_clock (const struct drm_device *dev , enum
drm_dp_dual_mode_type type , struct i2c_adapter *adapter );
β¨ ARGUMENTS β¨
devβ thedrm_deviceyou're rolling with π«Άtypeβ which flavour of DP dual mode adaptor we're dealing with πadapterβ theI2Cadapter for the DDC bus, that's the road we talk down π£οΈ
π DESCRIPTION π
So the whole vibe here is: figure out the max TMDS clock the adaptor can handle. And how do we figure it out? It depends on the type of the dual mode adaptor, plus the DP_DUAL_MODE_MAX_TMDS_CLOCK register β but only on type2 adaptors, bestie. π
Now here's the plot twist π β some type 1 adaptors have problems with registers (go read the comments in drm_dp_dual_mode_detect, they spill the tea). So on those we do not read the register at all. Instead we just simply assume a 165 MHz limit, based on the specification. No cap, that's the move. π
π RETURN π
The maximum supported TMDS clock rate for the DP dual mode adaptor, in kHz. That's it, that's the answer π
β SEE ALSO β
- Kernel file
./drivers/gpu/drm/display/drm_dp_dual_mode_helper.c dp dual mode helpers(9)drm_dp_dual_mode_read(9)drm_dp_dual_mode_write(9)drm_dp_dual_mode_detect(9)drm_dp_dual_mode_get_tmds_output(9)drm_dp_dual_mode_set_tmds_output(9)drm_dp_get_dual_mode_type_name(9)drm_lspcon_get_mode(9)drm_lspcon_set_mode(9)
and that's the whole page, bestie π«Ά this cutie lives in ./drivers/gpu/drm/display, and it was dated October 2026 β so yeah, mark your calendar, the kernel said what it said πβ¨
π¦ 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