drm_dp_dual_mode_write(9)
π drm_dp_dual_mode_write(9) β like, the Kernel API Manual page you actually wanna read π
okay so bestie, welcome to drm_dp_dual_mode_write, straight out of the Kernel API Manual β¨ this one's short and sweet and honestly? kinda iconic. let's get into it π«Ά
πΈ NAME πΈ
drm_dp_dual_mode_write β the function that writes to the DP dual mode adaptor register(s). that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
ssize_t drm_dp_dual_mode_write (struct i2c_adapter *adapter , u8 offset
, const void *buffer , size_t size );
look at her. ssize_t return type, four params, zero notes. main character energy fr π₯
π¦ ARGUMENTS π¦
adapterβ the I2C adapter for the DDC bus. yes, this is where the whole conversation happens πoffsetβ the register offset, a lilu8telling everyone where to start writing πbufferβ the buffer holding your write data,const void *so nobody's out here mutating your stuff πsizeβ size of the buffer,size_tgirlie, because bytes are bytes β¨
π DESCRIPTION π
so the actual job: it writes size bytes into the DP dual mode adaptor registers, starting at offset. that's literally it. no lore, no side quests β just a clean write of size bytes beginning at offset π₯
ngl, the way this function just gets in, does its thing, and leaves? that's the energy we should all be bringing π
β RETURN β
- returns
0on success π - returns a negative error code on failure π (yes, negative. check it, bestie.)
πΈ SEE ALSO πΈ
the whole friend group, in no particular order π«Ά
- 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_detect(9)drm_dp_dual_mode_max_tmds_clock(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, you ate it up π
this little beauty lives at ./drivers/gpu/drm/display and the manual's dated October 2026 β so mark your calendar, screenshot it, send it to the group chat π byeeee πβ¨π¦
π¦ 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