__set_input_tf(9)
β¨ __set_input_tf(9) β¨
okay bestie, welcome to the Kernel API Manual π todayβs main character is __set_input_tf(9), and she is literally here to calculate the input transfer function based on expected input space. no cap. π
πΈ NAME πΈ
__set_input_tf β calculates the input transfer function based on expected input space.
π¦ SYNOPSIS π¦
int __set_input_tf (struct dc_color_caps *caps , struct dc_transfer_func *func , const struct drm_color_lut *lut , uint32_t lut_size );
π ARGUMENTS π
capsβ dc color capabilities. the vibe check for what colors this thing can do πfuncβ transfer function. this is the function bestie, main character energy fr fr β¨lutβ lookup table that defines the color space. iconic little table, not me being obsessed πlut_sizeβ size of respective lut. yes, she has a size, and we respect it π
π RETURN π
0 in case of success. -ENOMEM if fails. slay when it works, and when it doesnβt, itβs giving -ENOMEM ππ
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c β go read her, sheβs iconic π«Ά
overview(9)amdgpu_dm_init_color_mod(9)__extract_blob_lut(9)__extract_blob_lut32(9)__is_lut_linear(9)__drm_lut_to_dc_gamma(9)__drm_lut32_to_dc_gamma(9)__drm_ctm_to_dc_matrix(9)__drm_ctm_3x4_to_dc_matrix(9)__set_legacy_tf(9)__set_output_tf(9)__set_output_tf_32(9)__set_input_tf_32(9)amdgpu_dm_verify_lut3d_size(9)amdgpu_dm_verify_lut_sizes(9)amdgpu_dm_check_crtc_color_mgmt(9)amdgpu_dm_update_crtc_color_mgmt(9)amdgpu_dm_update_plane_color_mgmt(9)
mwah π source/version: ./drivers/gpu/drm/amd/display/... and date: October 2026, periodt π§ββοΈ
π¦ 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