i915_gem_ob...ds_ccs_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_gem_ob...ds_ccs_pages(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual (yes, that's the whole vibe, we're in the kernel docs bestie, act accordingly ✨). Buckle up, it's a tiny one but it's important.


πŸŽ€ NAME πŸŽ€

i915_gem_object_needs_ccs_pages β€” literally just "does this object need extra pages or not" πŸ’–

Like, specifically: check whether the object requires extra pages when it's placed in system-memory, so we can save and later restore the flat-CCS aux state when the object gets moved between local-memory and system-memory. No cap, that's the whole gig. πŸ¦‹


✨ SYNOPSIS ✨

bool i915_gem_object_needs_ccs_pages (struct drm_i915_gem_object *obj );

one function, one pointer, one bool coming back at you. immaculate. πŸ‘‘


🌸 ARGUMENTS 🌸

  • obj β€” Pointer to the object 🫢 (that's it, that's the argument, she's lowkey simple and we respect that)

πŸ’œ RETURN πŸ’œ

  • True if the object needs extra ccs pages πŸ”₯
  • False otherwise πŸ’€

binary queen. no in-between. 🌈


🧚 SEE ALSO 🧚

Kernel file ./drivers/gpu/drm/i915/gem/i915_gem_object.c β€” go read the source bestie, it's giving main character energy πŸ“–βœ¨

and then the whole friend group, fr fr:

like, the entire i915_gem_object cinematic universe. iykyk πŸ’…


lowkey a reminder: this one's a bool return, so don't go looking for error codes in here β€” it's true or false and that's the tea β˜•

and that's the page, bestie!! πŸŽ€ source came from ./drivers/gpu/drm/i915/gem, dated October 2026, and it's the i915_gem_ob...ds_ccs_pages(9) entry β€” mwah, kiss the kernel for me πŸ˜­πŸ’–πŸ¦‹

πŸ“¦ where this page comes from