drm_get_color_encoding_name(9)
π drm_get_color_encoding_name(9) π
okay so this is a page from the Kernel API Manual and it's literally all about drm_get_color_encoding_name β yes bestie, that whole mouthful is the name π«Ά
β¨ NAME β¨
drm_get_color_encoding_name β returns a string for color encoding π
πΈ SYNOPSIS πΈ
const char * drm_get_color_encoding_name (enum drm_color_encoding encoding );
like, that's the whole call. one argument, one return, no drama β¨
π ARGUMENTS π
encodingβ the color encoding you want the name of. that's it, that's the job π¦
π DESCRIPTION π
so here's the tea π β unlike the other drm_get_*_name functions, this one returns a const pointer. and the way that matters is that it's therefore threadsafe π no cap, that's the entire vibe of this function. it's the responsible main character of the drm_get_*_name friend group πβ¨
π SEE ALSO π
the whole squad, fr fr β go read these next:
- 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_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_crtc_fill_palette_8(9)drm_color_lut32_check(9)
okay and for the sign-off π β this lil beauty lives over in <code>./drivers/gpu/drm</code>, dated October 2026, and it's filed under drm_get_color_encoding_name(9) in the Kernel API Manual. mwah πβ¨
π¦ 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