dm_test_fil...o_nv12_dcn1x(9)
π
dm_test_fil...o_nv12_dcn1x(9) β like, the Kernel API Manual page, bestie β¨
okay so quick vibe check: you're in the Kernel API Manual, section 9, and this is the page for dm_test_fil...o_nv12_dcn1x. yes the title got truncated, no that's not my fault, that's just how the header line came out. it's giving "long function name, limited screen real estate" π anyway. buckle up. π
πΈ NAME πΈ
dm_test_fill_dc_scaling_info_nv12_dcn1x β literally just verifying that NV12 gets rejected on DCN1x. that's the whole assignment. iconic, honestly. π
β¨ SYNOPSIS β¨
void dm_test_fill_dc_scaling_info_nv12_dcn1x (struct kunit *test );
one function, one argument, zero drama (well β the test is about drama, but the signature is chill). π¦
π«Ά ARGUMENTS π«Ά
testβ the KUnit test context. it's the group chat the test lives in. hand it over and you're good. π§
π₯ DESCRIPTION π₯
so here's the tea, bestie: this test verifies if a non-zero NV12 source origin is rejected on DCN 1.0. why? because we're avoiding the known DCN1x hang. like, that hang is not invited to the party. non-zero source origin + NV12 + DCN 1.0 = the vibe check that must fail, and this test makes sure it does. periodt. π
no cap: the whole point is the rejection. if it doesn't get rejected, the hang shows up, and the hang is a hater. π«
π SEE ALSO π
π Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c
π the whole friend group (yes, all of them, in order)
dm_test_plane_is_video_format_known_video(9)dm_test_fill_blending_defaults(9)dm_test_fill_blending_premulti_alpha_format(9)dm_test_fill_blending_coverage_alpha_format(9)dm_test_fill_blending_global_alpha(9)dm_test_modifier_has_dcc(9)dm_test_modifier_gfx9_swizzle_mode(9)dm_test_get_plane_formats(9)dm_test_get_plane_modifiers(9)dm_test_fill_dc_scaling_info(9)dm_test_get_min_max_dc_plane_scaling(9)dm_test_get_cursor_position(9)dm_test_format_mod_supported(9)dm_test_fill_gfx12_plane_attributes_from_modifiers(9)dm_test_fill_gfx9_plane_attributes_from_modifiers(9)dm_test_helper_check_state_viewport_reject(9)dm_test_validate_dcc_disabled_returns_success(9)dm_test_validate_dcc_video_non_gfx12_fails(9)dm_test_validate_dcc_missing_cap_func_fails(9)dm_test_validate_dcc_cap_callback_fails(9)dm_test_validate_dcc_not_capable_fails(9)dm_test_validate_dcc_success_and_scan_mapping(9)dm_test_validate_dcc_independent_64b_mismatch_fails(9)dm_test_add_modifier_appends_value(9)dm_test_add_modifier_grows_capacity(9)dm_test_add_modifier_noop_when_mods_null(9)dm_test_fill_gfx9_tiling_info_from_device_pre_10_3(9)dm_test_fill_gfx9_tiling_info_from_device_10_3_plus(9)dm_test_fill_gfx9_tiling_info_from_modifier_linear(9)dm_test_fill_gfx9_tiling_info_from_modifier_pre_nv(9)dm_test_fill_gfx9_tiling_info_from_modifier_nv(9)dm_test_get_format_info(9)dm_test_fill_blending_global_alpha_dcn42(9)dm_test_get_plane_formats_overlay_universal_cap(9)dm_test_get_plane_modifiers_gfx9(9)dm_test_get_plane_modifiers_rv(9)dm_test_get_plane_modifiers_rv_constant_encode(9)dm_test_get_plane_modifiers_gfx10_1(9)dm_test_get_plane_modifiers_gfx10_3(9)dm_test_get_plane_modifiers_gfx11_64k_first(9)dm_test_get_plane_modifiers_gfx11_256k_first(9)dm_test_get_plane_modifiers_gfx12(9)dm_test_fill_gfx9_plane_attributes_dcc(9)dm_test_fill_gfx9_plane_attributes_validate_fails(9)dm_test_fill_gfx9_plane_attributes_dcc_rbplus_64b_no_128bcl(9)dm_test_fill_gfx9_plane_attributes_dcc_rbplus_128b(9)dm_test_fill_gfx9_plane_attributes_dcc_rbplus_unconstrained(9)dm_test_fill_gfx9_plane_attributes_dcc_gfx9_64b(9)dm_test_fill_gfx9_plane_attributes_dcc_gfx9_unconstrained(9)dm_test_fill_gfx12_plane_attributes_block0(9)dm_test_fill_gfx12_plane_attributes_block_unconstrained(9)dm_test_fill_gfx12_plane_attributes_validate_fails(9)dm_test_fill_plane_buffer_attributes_video(9)dm_test_fill_plane_buffer_attributes_gfx12(9)dm_test_get_min_max_dc_plane_scaling_fp16(9)dm_test_helper_check_state_small_viewport_width(9)dm_test_helper_check_state_small_viewport_height(9)dm_test_helper_check_state_bottom_clipped_height(9)dm_test_helper_check_state_scaling_caps(9)dm_test_fill_dc_scaling_info_plane_caps(9)dm_test_get_cursor_position_bad_size(9)dm_test_format_mod_supported_d_swizzle_reject(9)dm_test_atomic_async_check_rejects(9)dm_test_atomic_async_check_overlay_cursor(9)dm_test_atomic_check_no_dc_state(9)dm_test_atomic_check_missing_crtc_state(9)dm_test_atomic_check_helper_failure(9)dm_test_atomic_check_color_pipeline_conflict(9)dm_test_atomic_check_scaling_failure(9)dm_test_panic_flush_no_dc_state(9)dm_test_plane_reset_initializes_state(9)dm_test_plane_duplicate_state_copies_fields(9)dm_test_plane_destroy_state_minimal(9)
and that's the whole page, bestie π no crumbs, every single reference accounted for, iykyk. π
cute little sign-off: this came out of the Kernel API Manual, lives under ./drivers/gpu/drm/amd/display/..., and was dated October 2026 β so yeah, it's a whole timestamped masterpiece. go forth and let NV12 with a non-zero source origin get absolutely rejected on DCN 1.0. 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