drm_get_color_encoding_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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.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_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