__set_input_tf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __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 🫢


mwah πŸ’– source/version: ./drivers/gpu/drm/amd/display/... and date: October 2026, periodt πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from