dm_test_rep...dy_supported(9)
π dm_test_rep...dy_supported(9) β the gen-z field guide π
okay bestie, we're in the Kernel API Manual today, and this one is a tiny little KUnit test page from the AMD display driver tree. it's short, it's sweet, it's giving "one job and she does it." let's go β¨
πΈ NAME πΈ
dm_test_replay_set_caps_already_supported β literally just verifying that cached Replay support gets respected, no cap π
π¦ SYNOPSIS π¦
void dm_test_replay_set_caps_already_supported (struct kunit *test );
that's it. that's the whole signature. she's compact π
π ARGUMENTS π
testβ the KUnit test context π§ͺ. this is the little bundle of test-runner state that kunit hands you so your test can, like, exist and report stuff. main character energy fr.
β¨ DESCRIPTION β¨
so here's the vibe check π: when replay_supported is already set, then amdgpu_dm_set_replay_caps should return true without revalidating the link capabilities β like, girl, we already checked, we're not doing it again π
periodt.
that's the whole test. no extra steps, no sneaky side quests. obsessed π«Ά
ngl this is one of those tests that exists purely to make sure the early-out actually early-outs. no revalidation, no drama π₯
π SEE ALSO π
Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_replay_test.c
and here's the whole friend group, all seventeen of them, in order, because we do not leave a bestie behind π:
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_missing_power_module(9)dm_test_replay_set_event_already_set(9)dm_test_replay_set_event_already_clear(9)
and that's the whole page, bestie π
cute little sign-off time: this one comes from the source path ./drivers/gpu/drm/amd/display/... and it's dated October 2026 ποΈ (yes, the future, we're iconic like that). stay hydrated, read your manpages, and remember: if the caps are already supported, don't revalidate the link. 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