dm_mst_test_...mst_encoders(9)
π dm_mst_test_create_fake_mst_encoders β kernel API manual, bestie edition β¨
okay so this is a page from the Kernel API Manual, and the whole thing is about dm_mst_test_create_fake_mst_encoders. yes the page name up top is the long squished dm_mst_test_...mst_encoders(9) β that's just the section-9 manual tag, don't panic π«Ά
πΈ NAME πΈ
dm_mst_test_create_fake_mst_encoders β the "test fake MST encoder setup" situation. literally what it says on the tin, no cap π
β¨ SYNOPSIS β¨
void dm_mst_test_create_fake_mst_encoders (struct kunit *test );
that's it. one function, takes one thing, returns nothing. clean. iconic. π
π¦ ARGUMENTS π¦
testβ the KUnit test context. this is the little test-world-in-a-box that the KUnit framework hands you, and it's the only thing this function wants. give it yourtestand let it cook π₯
π DESCRIPTION π
so here's the vibe check π β this function is a test. it's verifying that dm_dp_create_fake_mst_encoders actually does its job: namely, that it initializes the MST encoders you asked for as DPMST encoders, with the CRTC mask derived from the device state.
that's the whole check. that's the tea. it's giving "did the fake encoder factory build the right fake encoders with the right mask" and honestly? obsessed. β¨
ngl this is a unit test, so its job is to yell at you in CI if that initialization ever stops being correct. keep it passing, bestie π
π SEE ALSO π
the kernel file it lives in, first of all:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c
and then the whole friend group β every single sibling test page, no skipping, here we go πββοΈπ¨
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_atomic_check_no_old_crtc(9)dm_mst_test_detect_unregistered(9)dm_mst_test_fp_guarded_public_stubs(9)
forty-one of them. I counted. you're welcome π
okay that's the page!! π this one came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β so mark your calendars, future besties, and go read the rest of the manual. mwah πβπ«Ά
π¦ 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