STRUCT PHY_CONFIGURE_OPTS_DP(9)
π¦ struct phy_configure_opts_dp(9) π
okay so bestie, this is a page from the Kernel API Manual and honestly? it's giving "I'm the blueprint for your whole DisplayPort era." sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
struct phy_configure_opts_dp β the DisplayPort PHY configuration set. like, the whole vibe of how your DP phy is set up lives in here π
πΈ SYNOPSIS πΈ
struct phy_configure_opts_dp {
unsigned int link_rate;
unsigned int lanes;
unsigned int voltage[4];
unsigned int pre[4];
u8 ssc : 1;
u8 set_rate : 1;
u8 set_lanes : 1;
u8 set_voltages : 1;
};
no cap, that's the whole struct. now let's meet the members one by one π«Ά
π Members π
link_rateβ the Link Rate, in Mb/s, of the main link. this is literally the main character of the struct.
Allowed values: 1620, 2160, 2430, 2700, 3240, 4320, 5400, 8100 Mb/s β‘
lanesβ the number of active, consecutive, data lanes, starting from lane 0, used for the transmissions on main link. consecutive is the key word here bestie, no skipping lanes, that's not the vibe.
Allowed values: 1, 2, 4
voltageβ Voltage swing levels, as specified by DisplayPort specification, to be used by particular lanes. one value per lane, sovoltage[0]is for lane 0,voltage[1]is for lane 1, etc. it's giving assigned seating but for lanes π
Maximum value: 3
preβ Pre-emphasis levels, as specified by DisplayPort specification, to be used by particular lanes. one value per lane, same deal as above.
Maximum value: 3
sscβ flag indicating whether or not to enable spread-spectrum clocking. yes/no energy only β¨set_rateβ flag indicating whether or not to reconfigure link rate and SSC to requested values. it's a "should I actually touch this" flag, iykyk.set_lanesβ flag indicating whether or not to reconfigure lane count to requested value.set_voltagesβ flag indicating whether or not to reconfigure voltage swing and pre-emphasis to requested values.
heads up bestie β only lanes specified by the "lanes" parameter will be affected. the others are just sitting there minding their business π
π Description π
This structure is used to represent the configuration state of a DisplayPort phy. that's it, that's the whole job, and it does it iconically β¨
π SEE ALSO π
- Kernel file
./include/linux/phy/phy-dp.h
and that's the whole page, bestie! π¦
signed off with love from somewhere in ./include/linux/phy, dated October 2026 β same struct phy_c...gure_opts_dp(9) energy, just cuter π periodt.
π¦ 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