dm_test_repl..._null_stream(9)
π dm_test_repl..._null_stream(9) β like, the Kernel API Manual era π
okay bestie, so this is a page from the Kernel API Manual and it's about dm_test_replay_set_event_null_stream, which β and I cannot stress this enough β is a whole function that exists purely to check that we correctly reject a NULL stream. queen behavior honestly. it's a KUnit test, so it's giving "we wrote a tiny test to bully the kernel into behaving". π
β¨ NAME β¨
dm_test_replay_set_event_null_stream β literally just verifying that a NULL stream gets rejected. that's the whole job. no cap. π¦
πΈ SYNOPSIS πΈ
void dm_test_replay_set_event_null_stream (struct kunit *test );
π ARGUMENTS π
testβ the KUnit test context. it's the little test-harness buddy that gets handed in so the test can actually, y'know, run. π§
π DESCRIPTION π
so the way this works: amdgpu_dm_replay_set_event should return false when no stream is provided. that's it. that's the vibe check. you pass in nothing, it says "nope", and this test is here to make sure it keeps saying nope. π₯
bestie pls note: the expectation is explicitly false β no stream means no dice. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_replay_test.cβ go read it, iykyk π 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_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 π«Ά it lives at ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under dm_test_repl..._null_stream(9). iconic, no notes. β
π¦ 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