dm_test_repl...ing_dmub_srv(9)
π NAME π
dm_test_replay_set_caps_missing_dmub_srv β bestie, this one verifies that missing DMUB gets rejected π«Ά
So real quick, this is a page from the Kernel API Manual (yes, the kernel has lore too β¨) and it's all about one lil KUnit test that checks the sad path: what happens when Replay is supported but the DMUB service ghosted us π
πΈ SYNOPSIS πΈ
void dm_test_replay_set_caps_missing_dmub_srv (struct kunit *test );
That's the whole signature, no cap β void in, nothing out, just vibes and a KUnit verdict π
π ARGUMENTS π
testβ the KUnit test context π§ this is the lil handle the test framework hands you so the test can do its thing and report back. Basically the group chat the test posts its results in.
β¨ DESCRIPTION β¨
Okay so picture it: the link and the connector both support Replay (iconic, love that for them π) but there's no DMUB service available β like, nobody's home, the service didn't show up to the party π
In that exact situation, amdgpu_dm_set_replay_caps should return false.
That's it. That's the test. It's giving "expect the rejection," and honestly the rejection is the whole point β this test is the vibe check that makes sure the code doesn't pretend everything's fine when the DMUB service is literally missing π
π¦ SEE ALSO π¦
The kernel file lives right here, go read the source bestie:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_replay_test.c
And here's the whole friend group of sibling tests β every single one, in order, no skips π
dm_test_replay_set_caps_already_supported(9)dm_test_replay_set_caps_non_embedded_signal(9)dm_test_replay_set_caps_disallowed_by_panel(9)dm_test_replay_set_caps_link_not_supported(9)dm_test_replay_set_caps_success(9)dm_test_replay_link_setup_null_stream(9)dm_test_replay_link_setup_null_link(9)dm_test_replay_link_setup_null_vrr_params(9)dm_test_replay_link_setup_not_supported(9)dm_test_replay_link_setup_already_enabled(9)dm_test_replay_link_setup_success(9)dm_test_replay_set_event_null_stream(9)dm_test_replay_set_event_null_link(9)dm_test_replay_set_event_feature_disabled(9)dm_test_replay_set_event_missing_power_module(9)dm_test_replay_set_event_already_set(9)dm_test_replay_set_event_already_clear(9)
Okay that's the whole page, mwah π thanks for reading, this came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026, so mark your calendars bestie β see you in the future, dm_test_repl...ing_dmub_srv(9) out πβ¨
π¦ 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