drm_dp_dual_..._tmds_output(9)
π drm_dp_dual_..._tmds_output(9) β like, the Kernel API Manual page, bestie β¨
okay so real talk, this is a page out of the Kernel API Manual, and it's about drm_dp_dual_mode_set_tmds_output β yes the whole name, we don't abbreviate π. It's a DP dual mode helper, and it's here to turn the TMDS output buffers on or off inside the adaptor. That's the whole vibe. Let's get into it π«Ά
β¨ NAME β¨
drm_dp_dual_mode_set_tmds_output β Enable/disable TMDS output buffers in the DP dual mode adaptor π
πΈ SYNOPSIS πΈ
int drm_dp_dual_mode_set_tmds_output (const struct drm_device *dev ,
enum drm_dp_dual_mode_type type , struct i2c_adapter *adapter , bool
enable );
like, literally copy that verbatim, no cap π₯
π¦ ARGUMENTS π¦
devβ thedrm_deviceto use πtypeβ the DP dual mode adaptor type, iykyk πadapterβ the I2C adapter for the DDC bus πenableβ enable (as opposed to disable, duh) the TMDS output buffers β
π DESCRIPTION π
So what this icon does is set the state of the TMDS output buffers in the adaptor. Periodt. π
For type2, this gets set via the DP_DUAL_MODE_TMDS_OEN register β that's the one, bestie, that's the main character register here π§
And for type1 adaptors? Whew. They do not support any register writes at all. Not even a little. So know your type before you come at it with a write, fr fr π
π RETURN π
0on success π- negative error code on failure π
π SEE ALSO π
Lowkey the whole squad is linked here, go say hi π
- 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_max_tmds_clock(9)drm_dp_dual_mode_get_tmds_output(9)drm_dp_get_dual_mode_type_name(9)drm_lspcon_get_mode(9)drm_lspcon_set_mode(9)
ok that's the page!! π«Ά remember: type2 gets the DP_DUAL_MODE_TMDS_OEN register treatment, type1 gets nothing but vibes and zero register writes. Go be iconic with your TMDS buffers, bestie π
source/version: ./drivers/gpu/drm/display Β· October 2026 Β· drm_dp_dual_..._tmds_output(9) β mwah, catch you in the next manpage πΈβ¨π
π¦ 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