mtk_aal_gamma_get_lut_size(9)
β¨ mtk_aal_gamma_get_lut_size β¨
okay so bestie, welcome to the Kernel API Manual π and today's main character is mtk_aal_gamma_get_lut_size β she's a little function that tells you how big the gamma LUT is for AAL. yes, that AAL. the display one. iykyk π
πΈ NAME πΈ
mtk_aal_gamma_get_lut_size β get the gamma LUT size for AAL, no cap π¦
β SYNOPSIS β
unsigned int mtk_aal_gamma_get_lut_size (struct device *dev );
π ARGUMENTS π
devβ pointer tostruct device. that's it, that's the whole argument. your device struct, handed over with love π«Ά
π₯ RETURN π₯
lowkey two possible outcomes here:
0if gamma control is not supported in AAL π- otherwise, the gamma LUT size π
so yeah β a 0 is not a size, it's the "nope, not supported" signal. vibe check accordingly π
π SEE ALSO π
the kernel file, in all her glory: ./drivers/gpu/drm/mediatek/mtk_disp_aal.c β go read it, she ate πβ¨
and that's the tea, bestie π this little page came from ./drivers/gpu/drm/mediatek and is dated October 2026, so like... future vibes only π§π slay, 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