drm_crtc_fill_palette_8(9)
β¨ drm_crtc_fill_palette_8(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's a little kernel function called drm_crtc_fill_palette_8, and it's honestly giving "short but iconic" π
πΈ NAME πΈ
drm_crtc_fill_palette_8 β programs a default palette for C8-like formats π¨β¨
π¦ SYNOPSIS π¦
void drm_crtc_fill_palette_8 (struct drm_crtc *crtc ,
drm_crtc_set_lut_func set_palette );
like, that's the whole signature, no cap π«Ά
π ARGUMENTS π
crtcβ the displaying CRTC π (yes, the actual one that's showing stuff, main character energy fr)set_paletteβ callback for programming the hardware gamma LUT π₯
π DESCRIPTION π
Programs a default palette to hardware. that's it, that's the vibe β it literally just pushes a default palette into the hardware for u π β¨
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_color_mgmt.c overview(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_fill_gamma_555(9)drm_crtc_load_palette_8(9)drm_crtc_fill_palette_332(9)drm_color_lut32_check(9)
like, go read those too, iykyk ππ
that's the whole page bestie β short, sweet, and every detail accounted for π
okay bye ily, this one's from ./drivers/gpu/drm π«, October 2026 edition, and it's literally drm_crtc_fill_palette_8(9) signing off ππ¦β¨π
π¦ 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