dm_test_colo...pipeline_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_test_colo...pipeline_add(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for dm_test_colorop_pipeline_add, and honestly it's giving very "small helper, big pipeline energy" πŸŽ€


🌸 NAME 🌸

dm_test_colorop_pipeline_add β€” append one colorop to a fabricated pipeline πŸ¦‹

like literally just one. one (1) colorop. into a pipeline that is fabricated. slay.


✨ SYNOPSIS ✨

struct drm_colorop * dm_test_colorop_pipeline_add (struct kunit *test ,
struct dm_test_color_update_fixture *f , int index , enum
drm_colorop_type type , enum drm_colorop_curve_1d_type curve_1d_type ,
bool bypass );

🧚 ARGUMENTS 🧚

  • test β€” the KUnit test context, aka where all the test-vibes live 🫢
  • f β€” the color update fixture that owns the atomic state, main character of the state world πŸ‘‘
  • index β€” the colorop array index to populate, i.e. where in the array this lil guy goes πŸ“
  • type β€” the colorop type, yes that's the whole description, no notes πŸ’€
  • curve_1d_type β€” the 1D curve type for DRM_COLOROP_1D_CURVE states 🌈
  • bypass β€” the bypass flag for the new colorop state, flip it and it's on ghost mode πŸ™ˆ

πŸŽ€ RETURN πŸŽ€

the newly allocated colorop. that's it. that's the return. fresh out the allocator, cute as hell ⭐


πŸ”₯ SEE ALSO πŸ”₯

first up, the kernel file, no cap:

./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_color_test.c

and now the whole entire friendship group of sibling tests β€” every single one, we do not leave anyone out πŸ’–

dm_test_make_lut_blob(9), dm_test_verify_lut_sizes_null_luts(9), dm_test_verify_lut_sizes_valid_degamma(9), dm_test_verify_lut_sizes_invalid_degamma(9), dm_test_verify_lut_sizes_valid_gamma_atomic(9), dm_test_verify_lut_sizes_valid_gamma_legacy(9), dm_test_verify_lut_sizes_invalid_gamma(9), dm_test_verify_lut_sizes_both_valid(9), dm_test_verify_lut_sizes_invalid_degamma_valid_gamma(9), dm_test_atomic_lut3d_zero_size(9), dm_test_atomic_lut3d_nonzero_state_bits(9), dm_test_atomic_lut3d_data_forwarded(9), dm_test_set_colorop_3dlut_zero_size(9), dm_test_set_colorop_3dlut_nonzero_state_bits(9), dm_test_set_colorop_3dlut_data_forwarded(9), dm_test_set_tf_bypass(9), dm_test_set_tf_distributed_points_srgb(9), dm_test_set_tf_distributed_points_pq(9), dm_test_set_legacy_tf_identity(9), dm_test_set_output_tf_linear(9), dm_test_set_output_tf_32_srgb_rom(9), dm_test_set_input_tf_srgb(9), dm_test_set_input_tf_32_srgb(9), dm_test_set_transfer_funcs_with_luts(9), dm_test_set_atomic_regamma_bypass(9), dm_test_set_atomic_regamma_srgb(9), dm_test_atomic_shaper_lut_bypass(9), dm_test_atomic_blend_lut_bypass(9), dm_test_atomic_shaper_blend_srgb(9), dm_test_set_colorop_in_tf_1d_curve_invalid_type(9), dm_test_set_colorop_in_tf_1d_curve_unsupported_curve(9), dm_test_set_colorop_in_tf_1d_curve_bypass(9), dm_test_init_color_mod(9), dm_test_verify_lut3d_alloc_plane(9), dm_test_verify_lut3d_alloc_adev(9), dm_test_verify_lut3d_no_luts(9), dm_test_verify_lut3d_bad_shaper(9), dm_test_verify_lut3d_bad_lut3d(9), dm_test_verify_lut3d_valid(9), struct dm_test_colorop_fixture(9), dm_test_colorop_setup(9), dm_test_colorop_multiplier_applied(9), dm_test_colorop_multiplier_no_match(9), dm_test_colorop_3x4_matrix_applied(9), dm_test_colorop_3x4_matrix_bad_length(9), dm_test_colorop_degamma_predefined(9), dm_test_colorop_degamma_no_match(9), struct dm_test_color_update_fixture(9), dm_test_color_update_setup(9), dm_test_make_ctm_blob(9), dm_test_check_crtc_color_mgmt_no_luts(9), dm_test_check_crtc_color_mgmt_legacy_regamma(9), dm_test_check_crtc_color_mgmt_degamma(9), dm_test_update_crtc_color_mgmt_no_ctm(9), dm_test_update_crtc_color_mgmt_ctm(9), dm_test_update_plane_color_mgmt_bad_lut3d(9), dm_test_update_plane_color_mgmt_fallback_defaults(9), dm_test_update_plane_color_mgmt_maps_crtc_degamma(9), dm_test_update_plane_color_mgmt_maps_crtc_degamma_lut(9), dm_test_update_plane_color_mgmt_maps_bt709_degamma(9), dm_test_update_plane_color_mgmt_plane_degamma_lut(9), dm_test_update_plane_color_mgmt_rejects_dual_degamma(9), dm_test_update_plane_color_mgmt_uses_color_caps(9), dm_test_update_plane_color_mgmt_legacy_luts(9), dm_test_update_plane_color_mgmt_plane_ctm(9), dm_test_colorop_pipeline_setup(9), dm_test_update_plane_color_mgmt_colorop_bypass_pipeline(9), dm_test_update_plane_color_mgmt_colorop_missing_multiplier(9), dm_test_update_plane_color_mgmt_colorop_missing_3x4(9), dm_test_update_plane_color_mgmt_colorop_truncated(9), dm_test_update_plane_color_mgmt_colorop_no_3dlut_hw(9), dm_test_update_plane_color_mgmt_colorop_shaper(9), dm_test_update_plane_color_mgmt_colorop_3dlut(9), dm_test_update_plane_color_mgmt_colorop_3dlut_no_data(9), dm_test_update_plane_color_mgmt_colorop_blend(9)

ngl that's a lot of see-alsos but every single one is here, periodt πŸ’…

and that's the whole page bestie!! 🫢 this one came straight out of ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” go forth and append exactly one colorop, you've got this πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from