dm_mst_test...unregistered(9)
π dm_mst_test_detect_unregistered β Kernel API Manual (9) β¨
okay besties, gathering 'round because today's main character is dm_mst_test_detect_unregistered, straight out of the Kernel API Manual, section 9. she's a KUnit test and she's here to vibe check one very specific thing. let's get into it π
πΈ NAME πΈ
dm_mst_test_detect_unregistered β Test detect skips unregistered connector
like, the whole personality of this function is: "does detect correctly say no to a connector that was never registered?" and the answer should be yes. obsessed. π
β¨ SYNOPSIS β¨
void dm_mst_test_detect_unregistered (struct kunit *test );
one function, one argument, zero drama. iconic. π
π¦ ARGUMENTS π¦
testβ KUnit test context. that's it, that's the whole argument list. it's the little test-context bestie that KUnit hands you so the test can do its thing π«Ά
π₯ DESCRIPTION π₯
so here's the teaaa β β this test verifies that dm_dp_mst_detect returns disconnected for an unregistered connector before it ever calls into the MST topology helper.
read that again, because the ordering is the whole point. the connector is unregistered, so detect should bounce it as disconnected first, and only then would anything touch the MST topology helper. it's giving "bouncer checking the list before you get into the club" energy. no cap. π
literally the entire test is: unregistered connector in β disconnected out, and don't you dare poke the topology helper on the way. slay. β
π SEE ALSO π
the friend group!! the whole squad!! every single one of these:
- the Kernel file:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c 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_initialize_dp_connector_mst(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_fp_guarded_public_stubs(9)
and that's the page!! π§ before you go β quick sign-off from the source zone: this one came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026. mark your calendars bestie, she's a future icon ππ
π¦ 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