dm_test_cp_d...to_undesired(9)
πΈ dm_test_cp_d...to_undesired β Kernel API Manual, section 9 πΈ
okay bestie, welcome to the group chat for <rainbow>dm_test_cp_d...to_undesired</rainbow> β that's the full name, and yeah it's a mouthful, the abbreviated header just could not fit the whole thing so it lives here in the section 9 Kernel API Manual. she's a kernel test, she's iconique, let's get into it π
β¨ NAME β¨
dm_test_cp_diff_desired_to_undesired β the test that checks the <pink>DESIRED</pink> β <purple>UNDESIRED</purple> transition actually forces an update. yup, that's her whole job. no cap.
π¦ SYNOPSIS π¦
void dm_test_cp_diff_desired_to_undesired (struct kunit *test );
that's it. that's the whole signature. she takes one thing and returns literally nothing (void), which is such a mood honestly π
π ARGUMENTS π
testβ the KUnit test context π like, this is the little test-world she lives in. hand her the context and she does her thing.
π SEE ALSO π
okay so this is the part where I need you to stay with me, because this list is long and I'm obsessed with all of them. literally the whole extended friend group π
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_test.cβ go read the source, she's right there π«Ά
and now the rest of the crew, in the exact order they showed up:
dm_test_is_idle(9)dm_test_wait_for_idle(9)dm_test_soft_reset(9)dm_test_set_clockgating_state(9)dm_test_set_powergating_state(9)dm_test_bandwidth_update(9)dm_test_crtc_complete_writeback_no_connector(9)dm_test_crtc_complete_writeback_not_pending(9)dm_test_vblank_get_counter_out_of_range(9)dm_test_vblank_get_counter_no_stream(9)dm_test_crtc_get_scanoutpos_invalid_crtc(9)dm_test_crtc_get_scanoutpos_no_stream(9)dm_test_atomic_get_new_state_empty(9)dm_test_atomic_get_new_state_match(9)dm_test_atomic_destroy_state_no_context(9)dm_test_plane_layer_index_cmp_equal(9)dm_test_plane_layer_index_cmp_descending(9)dm_test_plane_layer_index_cmp_ascending(9)dm_test_fill_color_attr_rgb_format(9)dm_test_fill_color_attr_bt601_full(9)dm_test_fill_color_attr_bt601_limited(9)dm_test_fill_color_attr_bt709_full(9)dm_test_fill_color_attr_bt709_limited(9)dm_test_fill_color_attr_bt2020_full(9)dm_test_fill_color_attr_bt2020_limited(9)dm_test_fill_color_attr_invalid_encoding(9)dm_test_modereset_required_when_inactive_and_modeset(9)dm_test_modereset_not_required_when_active_and_modeset(9)dm_test_modereset_not_required_when_inactive_without_modeset(9)dm_test_scaling_state_same(9)dm_test_scaling_state_scaling_changed(9)dm_test_scaling_state_underscan_enabled(9)dm_test_scaling_state_underscan_disabled(9)dm_test_scaling_state_underscan_border_changed(9)dm_test_multisync_trigger_disabled(9)dm_test_multisync_trigger_rising(9)dm_test_multisync_trigger_falling(9)dm_test_master_stream_highest_refresh(9)dm_test_master_stream_defaults_to_first(9)dm_test_cp_diff_hdcp_type_change(9)dm_test_cp_diff_reenable_mode_changed(9)dm_test_cp_diff_reenable_no_change(9)dm_test_cp_diff_undesired(9)dm_test_cp_diff_desired_mode_changed(9)dm_test_cp_diff_desired_no_change(9)dm_test_cp_diff_update_hdcp_hotplug(9)dm_test_cp_diff_stream_reenabled(9)dm_test_cp_diff_s3_undesired_to_enabled(9)dm_test_cp_diff_desired_to_enabled(9)dm_test_per_frame_master_sync_single_stream(9)dm_test_per_frame_master_sync_two_streams(9)dm_test_per_frame_master_sync_skips_null_stream(9)dm_test_apply_delay_null_sink(9)dm_test_apply_delay_zero_wait(9)dm_test_apply_delay_nonzero_wait(9)
likeβ¦ the range?? the versatility?? she keeps good company fr fr π
side note bestie: this test is about the<pink>DESIRED</pink>β<purple>UNDESIRED</purple>transition forcing an update β that's the whole claim in the NAME and I'm not gonna invent extra behaviour for you, so that's all we're saying. periodt.
okay that's the page!! sign-off time because we're classy here: this one comes from source/version ./drivers/gpu/drm/amd/display/..., dated <cyan>October 2026</cyan>, and it's filed under dm_test_cp_d...to_undesired(9) β¨ mwah, go write some tests, ily ππ§ββοΈ
π¦ 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