STRUCT DRM_DP_LINK(9)
π NAME π
struct drm_dp_link β the whole vibe of a DP link, like, its capabilities and its configuration, bestie π
okay so real talk, this is a page from the Kernel API Manual β yes, the drm_dp_link(9) one, you're in the right place π«Ά
β¨ SYNOPSIS β¨
struct drm_dp_link {
unsigned char revision;
unsigned int max_rate;
unsigned int max_lanes;
struct drm_dp_link_caps caps;
struct {
unsigned int cr;
unsigned int ce;
} aux_rd_interval;
unsigned char edp;
unsigned int rate;
unsigned int lanes;
unsigned long rates[DP_MAX_SUPPORTED_RATES];
unsigned int num_rates;
const struct drm_dp_link_ops *ops;
struct drm_dp_aux *aux;
struct drm_dp_link_train train;
};
like, that's the whole struct, no cap π§
π Members π
okay bestie, field-by-field, let's go π
revisionβ the DP specification revision that's supported on the link π₯max_rateβ the maximum clock rate supported on the link, literally the ceiling βmax_lanesβ the maximum number of lanes supported on the link πcapsβ the capabilities supported on the link (peepdrm_dp_link_capsfor the deets) πaux_rd_intervalβ the AUX read interval to use for training, measured in microseconds β±οΈaux_rd_interval.crβ the clock recovery read interval πaux_rd_interval.ceβ the channel equalization read interval π
edpβ the eDP revision (0x11: eDP 1.1,0x12: eDP 1.2, ...) π¦rateβ the link rate that's currently configured π«lanesβ the number of lanes that's currently configured π£οΈratesβ additional supported link rates in kHz (eDP 1.4) πnum_ratesβ how many of those additional supported link rates there are (eDP 1.4) π’opsβ the DP link operations π οΈauxβ the DP AUX channel π‘trainβ the DP link training state π
ngl,ratesandnum_ratesare a package deal β one's the array, one's the count, don't @ me π
πΈ SEE ALSO πΈ
- Kernel file
./drivers/gpu/drm/tegra/dp.h struct drm_dp_link_caps(9)struct drm_dp_link_ops(9)struct drm_dp_link_train_set(9)struct drm_dp_link_train(9)
go read those too, iykyk π
that's the whole page, mwah π β brought to you by the source at ./drivers/gpu/drm/tegra, version October 2026, and yes struct drm_dp_link(9) is still the main character πβ¨
π¦ 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