intel_fb_rc_ccs_cc_plane(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_fb_rc_ccs_cc_plane(9) β€” bestie's guide to the CCS CC color plane index

okay so real talk, this is a page from the Kernel API Manual (the intel_fb_rc_ccs_cc_plane(9) one, yes the name is a mouthful, iykyk 🫢) and honestly? it's short. it's giving "one job, does it well" energy. let's get into it ✨


🌸 NAME 🌸

intel_fb_rc_ccs_cc_plane β€” literally just: get the CCS CC color plane index for a framebuffer πŸ’…


⭐ SYNOPSIS ⭐

int intel_fb_rc_ccs_cc_plane (const struct drm_framebuffer *fb );

πŸŽ€ ARGUMENTS πŸŽ€

  • fb β€” the framebuffer. that's it. that's the whole argument. iconic minimalism, no notes 🌈

πŸ”₯ RETURN πŸ”₯

it returns the index of the color clear plane for fb πŸ’–

...or -1 if fb is not a framebuffer using a render compression/color clear modifier. so like, no modifier match, no plane index, we return negative one and move on. periodt. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

the source lives in this kernel file, go be nosy:

Kernel file ./drivers/gpu/drm/i915/display/intel_fb.c

and here's the whole friend group, fr fr:

like, that's a whole squad of intel_fb_* functions and they all ate πŸ‘‘


ngl bestie, if you were looking for drama, this manpage is not it β€” one arg, one return, one -1 for the modifier mismatch case. but it's your -1 and it's valid πŸ₯Ί

that's the whole vibe ✨ this page ships out of ./drivers/gpu/drm/i915/display, October 2026 edition β€” mwah, go touch some registers πŸ’œ

πŸ“¦ where this page comes from