drm_dp_dual_..._tmds_output(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_dual_..._tmds_output(9) β€” like, the Kernel API Manual bestie ✨

okay so welcome to the drm_dp_dual_..._tmds_output(9) page, from your fave Kernel API Manual πŸŽ€ no cap, this one's a lil cutie β€” it's all about peeking at whether some buffers are on or off. let's get into it πŸ’–


🌸 NAME 🌸

drm_dp_dual_mode_get_tmds_output β€” literally just gets the state of the TMDS output buffers in the DP dual mode adaptor πŸ¦‹


✨ SYNOPSIS ✨

int drm_dp_dual_mode_get_tmds_output (const struct drm_device *dev ,
enum drm_dp_dual_mode_type type , struct i2c_adapter *adapter , bool
*enabled );

🫢 ARGUMENTS 🫢

  • dev β€” the drm_device you're working with, bestie πŸ’œ
  • type β€” which kind of DP dual mode adaptor we're dealing with
  • adapter β€” the I2C adapter for the DDC bus, iykyk 🌈
  • enabled β€” the current state of the TMDS output buffers (this is the tea we came for β˜•)

πŸ’€ DESCRIPTION πŸ’€

so the whole vibe of this function is: get the state of the TMDS output buffers in the adaptor. that's it, that's the job 🌟

for type2 adaptors, it queries this from the DP_DUAL_MODE_TMDS_OEN register β€” like, actually reads it, main character energy πŸ‘‘

but for some type 1 adaptors? oh no bestie, they have problems with registers 😭 (check the comments in drm_dp_dual_mode_detect if you wanna know the whole story). so we do not read the register on those. instead we simply assume that the buffers are always enabled. yep, we're just vibing on an assumption, no cap πŸ™ˆ


πŸ”₯ RETURN πŸ”₯

  • 0 on success, slay πŸ’…
  • a negative error code on failure πŸ˜”

πŸ¦‹ SEE ALSO πŸ¦‹


πŸŽ€ reminder bestie: on those type 1 adaptors there's no register read at all β€” the function just assumes the buffers are always enabled, so don't go expecting real hardware tea from that path πŸ’–

and that's the whole page!! mwah πŸ’‹ this lil legend lives in ./drivers/gpu/drm/display, it's dated October 2026, and it goes by drm_dp_dual_..._tmds_output(9) β€” periodt πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from