__set_output_tf_32(9)
β¨ __set_output_tf_32(9) β¨
Okay so bestie, welcome to the __set_output_tf_32(9) page π
β it's a Kernel API Manual moment, and this little function is lowkey the one that calculates the output transfer function based on expected input space. That's the whole vibe. Let's get into it π
πΈ SYNOPSIS πΈ
int __set_output_tf_32 (struct dc_transfer_func *func , const struct
drm_color_lut32 *lut , uint32_t lut_size , bool has_rom );
Like, that's the whole signature, bestie β nothing to memorise, just copy it exactly π«Ά
π ARGUMENTS π
funcβ the transfer function. That's the thing being set up, she's the main character here πlutβ the lookup table that defines the color space. Your color bible, essentially πlut_sizeβ the size of the respective lut. Gotta know how big she is πhas_romβ abooltelling you if ROM can be used for hardcoded curve. So like, yes-ROM or no-ROM, that's the question β
π₯ RETURN π₯
0in case of success β slay, we love a clean exit β¨-ENOMEMif it fails β that's the memory said "no ma'am" π
π¦ SEE ALSO π¦
First, the Kernel file to go look at, no cap:
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
And the whole friend group of related pages β literally the entire squad, go say hi to all of them π:
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_input_tf(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)
Fr fr, that's every reference β don't skip any of them, iykyk π§
And that's a wrap, bestie π This page came from ./drivers/gpu/drm/amd/display/..., and it's dated October 2026 β so mark your calendar, mwah ππ
π¦ 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