STRUCT DRM_DP_PHY_TEST_PARAMS(9)
π struct drm_dp_phy_test_params(9) β like, the Kernel API Manual edition π
okay bestie, buckle up, because this one lives in the Kernel API Manual and it's basically the little glow-up form your DisplayPort PHY fills out for compliance testing β¨ it's giving "backstage pass to the DPCD registers" and honestly? obsessed.
πΈ NAME πΈ
struct drm_dp_phy_test_params β the DP Phy Compliance parameters, periodt. π
β¨ SYNOPSIS β¨
struct drm_dp_phy_test_params {
int link_rate;
u8 num_lanes;
u8 phy_pattern;
u8 hbr2_reset[2];
u8 custom80[10];
bool enhanced_frame_cap;
};
like, that's the whole vibe right there π«Ά every single field, no cap.
π¦ Members π¦
link_rateβ the Requested Link rate that came in fromDPCD 0x219π« literally the speed they're asking for.num_lanesβ the Number of lanes requested by sing throughDPCD 0x220π£οΈ (yes that's the exact wording, don't come for me, I just report the facts).phy_patternβ the DP Phy test pattern straight outtaDPCD 0x248π¨ the main character of this whole struct, ngl.hbr2_resetβDP HBR2_COMPLIANCE_SCRAMBLER_RESETfromDCPD 0x24A and 0x24Bπ a two-byte reset moment, iconic.custom80βDP Test_80BIT_CUSTOM_PATTERNfromDPCDs 0x250 through 0x259π ten whole bytes of custom pattern, we love a DIY moment.enhanced_frame_capβ flag for enhanced frame capability π abool, so it's just yes/no energy.
π SEE ALSO π
go read the Kernel file ./include/drm/display/drm_dp_helper.h fr fr, plus these absolute legends:
struct drm_dp_vsc_sdp(9)struct drm_dp_as_sdp(9)drm_dp_dsc_sink_supports_format(9)drm_edp_backlight_supported(9)drm_dp_is_uhbr_rate(9)struct drm_dp_aux_msg(9)struct drm_dp_aux_cec(9)struct drm_dp_aux(9)drm_dp_dpcd_readb(9)drm_dp_dpcd_read_data(9)drm_dp_dpcd_write_data(9)drm_dp_dpcd_writeb(9)drm_dp_dpcd_read_byte(9)drm_dp_dpcd_write_byte(9)struct drm_dp_desc(9)enum drm_dp_quirk(9)drm_dp_has_quirk(9)struct drm_edp_backlight_info(9)
π«Ά quick vibe check: this page is sourced from ./include/drm/display and it's dated October 2026 β so yeah, future-flavored documentation, slay π
k bye, go test those PHYs, you're gonna ate πβ¨π
π¦ 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