dm_test_rep...power_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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