dm_mst_test...onnector_mst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_mst_test_initialize_dp_connector_mst (9) β€” Kernel API Manual energy ✨

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is dm_mst_test_initialize_dp_connector_mst. she's a KUnit test function and she is, respectfully, doing the most to prove one specific thing works. πŸŽ€


🌸 NAME 🌸

dm_mst_test_initialize_dp_connector_mst β€” literally the Test MST root initialization path girlie. that's the whole job. that's her. πŸ’…


✨ SYNOPSIS ✨

void dm_mst_test_initialize_dp_connector_mst (struct kunit *test );

yes queen, that's the whole signature. void return, takes a struct kunit *, moves on with her life. πŸ¦‹


🫢 ARGUMENTS 🫢

  • test β€” the KUnit test context πŸ’–. that's it. that's the one argument. she doesn't need anything else, she's low-maintenance like that.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the vibe 🌈: this test verifies that amdgpu_dm_initialize_dp_connector initializes the MST topology manager for a non-eDP DisplayPort connector. no cap. that's the assignment and she ate.

the way she does it is by exercising the path past the eDP early return β€” so like, she's not here for the eDP shortcut, she's going past it, into the real deal. πŸš€ and that path includes hitting:

  • dc_link_dp_get_max_link_enc_cap
  • drm_dp_mst_topology_mgr_init

both of them, on the way through. iconic behavior honestly. ⭐

now, important caveat bestie, listen up 🎧: a fully initialized DRM mode config and connector are required for this test, and here's the why β€” because the topology manager registers a private atomic object, and the subconnector property is attached to the connector. so if you show up with half-baked state, the whole thing falls over. πŸ’€ fr fr, set it up properly or don't set it up at all.


πŸ‘‘ SEE ALSO πŸ‘‘

🧚 Kernel file 🧚

./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c

that's the source file, the mothership, the origin story πŸ’œ

🌸 the whole friend group 🌸

like, the entire MST test suite showed up to the group chat 😭 and every single one of them is linked with (9) because they're all kernel API manual pages. periodt. πŸ“


🫢 cute little sign-off: this page comes from ./drivers/gpu/drm/amd/display/... and it's dated October 2026. so yes, she's from the future, and she's still passing her tests. πŸ’œβœ¨
πŸ“¦ where this page comes from