drm_crtc_sup...legacy_gamma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_crtc_sup...legacy_gamma(9) β€” the kernel API manual, bestie edition πŸ’–

okay so picture this: it's a Linux kernel API manual page, the manual name is literally drm_crtc_sup...legacy_gamma(9), and it's here to answer exactly one (1) question. that's it. that's the whole vibe. let's get into it πŸŽ€


✨ NAME ✨

drm_crtc_supports_legacy_gamma β€” does the crtc support legacy gamma correction table

like… that's the entire personality. it checks a thing and tells you yes or no. icon behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

bool drm_crtc_supports_legacy_gamma(struct drm_crtc *crtc);

look at her. two words, one argument, no drama. bool in the front because she's a yes/no girlie, and a single pointer because she doesn't need a whole crowd πŸ¦‹


🫢 ARGUMENTS 🫢

  • crtc β€” the CRTC object. that's it, that's the whole guest list. one CRTC, walking in solo, main character energy ✨

πŸ’… DESCRIPTION πŸ’…

so what does she actually do? she returns true/false depending on whether the given crtc supports setting the legacy gamma correction table. that's it!! that's the function!! no cap, no side quests, no weird surprises β€” just a clean little boolean handing you the tea β˜•

ngl it's giving "vibe check for gamma" and honestly? we love a focused queen. she knows her job and she does it πŸ’–

🌈 SEE ALSO 🌈

okay the friend group is LARGE. she rolls deep. here's literally everyone she wants you to meet, no skips, no cuts, iykyk:

that's twenty-one whole references. twenty-one!! she said "you WILL understand color management" and honestly? slay 🧚


and that's the page, bestie πŸ’œ this little gem lives under ./drivers/gpu/drm, and the version info stamps it as October 2026 β€” so go forth, call drm_crtc_supports_legacy_gamma, get your bool, and remember: gamma table support is a spectrum and this function will tell you exactly where your crtc stands πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from