drm_crtc_fill_gamma_555(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 for
  • set_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 πŸ“š:


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