drm_crtc_fill_gamma_888(9)
π drm_crtc_fill_gamma_888(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's about drm_crtc_fill_gamma_888, and no cap it's a little cutie that just... sets up your gamma for you π
π NAME π
drm_crtc_fill_gamma_888 β programs a default gamma ramp for RGB888-like formats π
like, it fills in the gamma table so you don't have to, iykyk π¦
β¨ SYNOPSIS β¨
void drm_crtc_fill_gamma_888 (struct drm_crtc *crtc ,
drm_crtc_set_lut_func set_gamma );
that's the whole signature, periodt π
π§ ARGUMENTS π§
crtcβ the displaying CRTC π this is the main character here, the one actually putting pixels on screenset_gammaβ callback for programming the hardware gamma LUT π₯ it's literally the function that pokes the hardware for you
πΈ DESCRIPTION πΈ
programs a default gamma ramp to hardware π«
that's it, that's the vibe β it hands a default gamma ramp over to the hardware so everything looks right out the gate. not me being obsessed with a one-liner doing its job π
π«Ά SEE ALSO π«Ά
overview(9)β kernel file./drivers/gpu/drm/drm_color_mgmt.cdrm_color_ctm_s31_32_to_qm_n(9)drm_crtc_enable_color_mgmt(9)drm_mode_crtc_set_gamma_size(9)drm_crtc_supports_legacy_gamma(9)drm_crtc_legacy_gamma_set(9)drm_mode_gamma_set_ioctl(9)drm_mode_gamma_get_ioctl(9)drm_get_color_encoding_name(9)drm_get_color_range_name(9)drm_plane_create_color_properties(9)drm_color_lut_check(9)drm_crtc_load_gamma_888(9)drm_crtc_load_gamma_565_from_888(9)drm_crtc_load_gamma_555_from_888(9)drm_crtc_fill_gamma_565(9)drm_crtc_fill_gamma_555(9)drm_crtc_load_palette_8(9)drm_crtc_fill_palette_332(9)drm_crtc_fill_palette_8(9)drm_color_lut32_check(9)
like, the whole color-management friend group fr fr π go read them all, they all ate π
ngl, if you're messing with gamma and color stuff, this whole list is your roman empire π
okay that's the page!! mwah π«Ά this lil doc lives in ./drivers/gpu/drm and it's dated October 2026 β catch you in the next manpage bestie, bye πππ¦
π¦ 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