i915_gem_ob...ds_ccs_pages(9)
π 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 π
Trueif the object needs extra ccs pages π₯Falseotherwise π
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:
__i915_gem_object_fini(9)i915_gem_object_set_cache_coherency(9)i915_gem_object_set_pat_index(9)__i915_gem_object_pages_fini(9)i915_gem_object_read_from_page(9)i915_gem_object_evictable(9)i915_gem_object_migratable(9)i915_gem_object_has_struct_page(9)i915_gem_object_has_iomem(9)i915_gem_object_can_migrate(9)i915_gem_object_migrate(9)__i915_gem_object_migrate(9)i915_gem_object_placement_possible(9)i915_gem_object_get_moving_fence(9)i915_gem_object_wait_moving_fence(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms