dm_test_rep...power_module(9)
π dm_test_rep...power_module(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for dm_test_rep...power_module(9), and no, the truncation isn't a typo, that's just how the header renders it. The full star of the show is dm_test_replay_set_event_missing_power_module, and she is iconic. Let's get into it π«Ά
πΈ NAME πΈ
dm_test_replay_set_event_missing_power_module β verify that a missing power module gets properly rejected. literally that's her whole job π
β¨ SYNOPSIS β¨
void dm_test_replay_set_event_missing_power_module (struct kunit *test
);
not me writing void with the line break exactly like the original, iykyk π
π ARGUMENTS π
testβ the KUnit test context π§ that's it, that's the whole argument list, she's low maintenance.
π¦ DESCRIPTION π¦
so here's the vibe check π: this test covers the situation where Replay is enabled but there's no power module available. In that case, the event helper should return false β and it should do that after failing to read the current Replay events. Like, the failure path is the whole point, bestie. She's testing the rejection. periodt π
π SEE ALSO π
first up, the kernel file this all lives in β it's giving "everything happens in one giant test file" energy:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_replay_test.c
and then the whole friend group π«Ά β every single sibling function, in order, no cap:
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_missing_dmub_srv(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_already_set(9)dm_test_replay_set_event_already_clear(9)
that's seventeen little tests all in a trench coat, and honestly? we love a complete set π
okay that's the whole page, bestie β go read the source, it's all sitting under ./drivers/gpu/drm/amd/display/... and the whole thing is dated October 2026 πΈ. slay, bye! ππ
π¦ 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