__drm_ctm_to_dc_matrix(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __drm_ctm_to_dc_matrix (9) β€” Kernel API Manual πŸ’–

okay so bestie, this page is from the Kernel API Manual, and it's all about one tiny but iconic function. no cap.


🌸 NAME 🌸

__drm_ctm_to_dc_matrix β€” converts a DRM CTM to a DC CSC float matrix. that's the whole assignment, and it ate. πŸ’…


πŸ’… SYNOPSIS πŸ’…

void __drm_ctm_to_dc_matrix (const struct drm_color_ctm *ctm , struct
       fixed31_32 *matrix );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctm β€” the DRM color transformation matrix. this is the input, bestie. πŸ¦‹
  • matrix β€” the DC CSC float matrix. this is where the converted matrix lands. ✨

🧚 DESCRIPTION 🧚

so the matrix needs to be a 3x4 (12 entry) matrix. that's 12 entries, periodt. no cap. πŸ’€


πŸ”₯ SEE ALSO πŸ”₯


okay that's the page, bestie 🫢 the footer source/version vibe is ./drivers/gpu/drm/amd/display/..., the date is October 2026, and the page is literally __drm_ctm_to_dc_matrix(9). bye πŸ’–

πŸ“¦ where this page comes from