dm_test_link...rsu_no_dmcub(9)
β¨ NAME β¨
okay bestie, so this is dm_test_link_supports_psrsu_no_dmcub β and it's literally a KUnit test that's all about how DMCUB support is required. that's the whole vibe. it's checking that thing where no DMCUB = no psrsu, periodt π
(also hi, this page lives in the Kernel API Manual and we're gonna get into it π«Ά)
πΈ SYNOPSIS πΈ
void dm_test_link_supports_psrsu_no_dmcub (struct kunit *test );
ngl it's giving very "takes one thing, returns nothing" energy and honestly? iconic. no return value, no drama, just vibes β¨
π ARGUMENTS π
testβ the KUnit test context π that's it, that's the whole argument. she's the main character here and she carries the test info so the harness knows what's up π§
π¦ SEE ALSO π¦
okay so there's a whole friend group of tests and you should fr fr go meet all of them π
The kernel file they all live in:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_psr_test.cβ the mothership π
The psrsu test girlies:
dm_test_link_supports_psrsu_old_dcn(9)dm_test_link_supports_psrsu_panel_unsupported(9)dm_test_link_supports_psrsu_missing_alpm(9)dm_test_link_supports_psrsu_missing_y_coordinate(9)dm_test_link_supports_psrsu_missing_granularity(9)dm_test_link_supports_psrsu_debug_mask_disabled(9)dm_test_link_supports_psrsu_temporarily_disabled(9)
The set_psr_caps squad:
dm_test_set_psr_caps_null_link(9)dm_test_set_psr_caps_null_connector(9)dm_test_set_psr_caps_no_dmub_psr(9)dm_test_set_psr_caps_non_edp(9)dm_test_set_psr_caps_disconnected(9)dm_test_set_psr_caps_no_dpcd_psr(9)dm_test_set_psr_caps_edp1_disabled(9)dm_test_set_psr_caps_success_psr1(9)
The psr event crew:
dm_test_psr_set_event_get_event_fails(9)dm_test_psr_set_event_already_set(9)dm_test_psr_set_event_updates_event(9)
And the is_active_allowed besties:
dm_test_psr_is_active_allowed_no_streams(9)dm_test_psr_is_active_allowed_null_link(9)dm_test_psr_is_active_allowed_requires_enabled_and_allowed(9)dm_test_psr_is_active_allowed_any_stream(9)
like, that's the entire group chat and every single one of them is invited to the function-name party π
and that's the page, bestie!! this cutie came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β so mark your calendar, she's from the future πβ° slay π
π¦ 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