drm_crtc_fill_gamma_555(9)
β¨ drm_crtc_fill_gamma_555(9) β¨
okay so this is a page from the Kernel API Manual (yes, the drm_crtc_fill_gamma_555(9) one, bestie, you're in the right place π) and it's honestly such a slay little helper.
πΈ NAME πΈ
drm_crtc_fill_gamma_555 β bestie, this one programs a default gamma ramp for RGB555-like formats β¨ like it literally just fills in the gamma for you, no cap
π SYNOPSIS π
void drm_crtc_fill_gamma_555 (struct drm_crtc *crtc ,
drm_crtc_set_lut_func set_gamma );
she's void, she takes two things, she doesn't return anything, she just does it π
π¦ ARGUMENTS π¦
crtcβ the displaying CRTC, aka the main character of this whole operation π this is the display controller we're out here programming forset_gammaβ the callback for programming the hardware gamma LUT π₯ that's the function that actually goes and talks to the hardware for you
π DESCRIPTION π
Programs a default gamma ramp to hardware. that's it, that's the whole vibe π«Ά it takes your crtc and your set_gamma callback and hands off a default gamma ramp straight to the hardware. iconic behaviour, honestly.
π SEE ALSO π
like, go read these next, iykyk π:
- the kernel file
./drivers/gpu/drm/drm_color_mgmt.coverview(9) drm_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_888(9)drm_crtc_fill_gamma_565(9)drm_crtc_load_palette_8(9)drm_crtc_fill_palette_332(9)drm_crtc_fill_palette_8(9)drm_color_lut32_check(9)
fr fr that's the whole page β short, sweet, and gamma-filled π
k bye bestie, this one lives over in ./drivers/gpu/drm and the manual's dated October 2026 β go program some color LUTs and slay π
β¨π
π¦ 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