dm_mst_test...onnector_mst(9)
π
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_capdrm_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 πΈ
dm_mst_test_needs_dsc_aux_workaround_match(9)dm_mst_test_needs_dsc_aux_workaround_rev12(9)dm_mst_test_needs_dsc_aux_workaround_wrong_dev_id(9)dm_mst_test_needs_dsc_aux_workaround_wrong_rev(9)dm_mst_test_needs_dsc_aux_workaround_low_sink_count(9)dm_mst_test_needs_dsc_aux_workaround_zero_sink_count(9)dm_mst_test_pbn_divider_null_link(9)dm_mst_test_pbn_divider_uses_link_bandwidth(9)dm_mst_test_reset_connector_setting(9)dm_mst_test_retrieve_downstream_no_aux(9)dm_mst_test_retrieve_downstream_present(9)dm_mst_test_retrieve_downstream_aux_error(9)dm_mst_test_retrieve_branch_no_parent(9)dm_mst_test_retrieve_branch_reads_oui(9)dm_mst_test_aux_result_success(9)dm_mst_test_aux_result_eio(9)dm_mst_test_aux_result_ebusy(9)dm_mst_test_aux_result_timeout(9)dm_mst_test_aux_transfer_native_read(9)dm_mst_test_aux_transfer_native_write(9)dm_mst_test_aux_transfer_partial_write(9)dm_mst_test_aux_transfer_error_result(9)dm_mst_test_aux_transfer_hpd_discon_quirk(9)dm_mst_test_aux_transfer_non_ack_reply(9)dm_mst_test_fill_payload_flags_native_write(9)dm_mst_test_fill_payload_flags_native_read(9)dm_mst_test_fill_payload_flags_i2c_read_mot(9)dm_mst_test_fill_payload_flags_write_status(9)dm_mst_test_msg_ready_mask(9)dm_mst_test_select_esi_dpcd_legacy(9)dm_mst_test_select_esi_dpcd_esi(9)dm_mst_test_sideband_msg_ready_no_ready_bits(9)dm_mst_test_sideband_msg_ready_read_error(9)dm_mst_test_sideband_msg_ready_without_mst_state(9)dm_mst_test_down_rep_msg_ready_wrapper(9)dm_mst_test_initialize_dp_connector_edp(9)dm_mst_test_atomic_best_encoder(9)dm_mst_test_create_fake_mst_encoders(9)dm_mst_test_atomic_check_no_old_crtc(9)dm_mst_test_detect_unregistered(9)dm_mst_test_fp_guarded_public_stubs(9)
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
- 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