i915_gem_obj...t_dirty_page(9)
π i915_gem_object_get_dirty_page β Kernel API Manual β¨
okay bestie, welcome to the little corner of the kernel where we do GEM buffer object stuff, this one lives in the i915 manual, and honestly? she's a tiny macro with main character energy π
β¨ NAME β¨
i915_gem_object_get_dirty_page β literally just a wrapper macro for __i915_gem_object_get_dirty_page, no cap π
πΈ SYNOPSIS πΈ
i915_gem_object_get_dirty_page (obj , n );
π¦ ARGUMENTS π¦
objβ your i915 GEM buffer object, the whole point of the function tbh π«Άnβ the page offset, i.e. which page we're talking about
β RETURN β
The target page pointer. that's it, that's the tea β she hands you back the page pointer you asked for.
π DESCRIPTION π
so here's the vibe: to avoid the truncation of the input parameter, this macro does a little type check on the page offset n from the input parameter before it calls __i915_gem_object_get_dirty_page. protective queen behavior honestly π
See also __i915_gem_object_page_iter_get_sg and __i915_gem_object_get_page β those are her friends, iykyk π
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/i915/gem/i915_gem_object.h π
i915_gem_object_lookup_rcu(9)__i915_gem_object_page_iter_get_sg(9)i915_gem_object_page_iter_get_sg(9)__i915_gem_object_get_sg(9)i915_gem_object_get_sg(9)__i915_gem_object_get_sg_dma(9)i915_gem_object_get_sg_dma(9)__i915_gem_object_get_page(9)i915_gem_object_get_page(9)__i915_gem_object_get_dirty_page(9)__i915_gem_object_get_dma_address_len(9)i915_gem_object_get_dma_address_len(9)__i915_gem_object_get_dma_address(9)i915_gem_object_get_dma_address(9)i915_gem_object_pin_map(9)i915_gem_object_unpin_map(9)
aaaand that's the whole page, bestie π§π this icon comes to you from ./drivers/gpu/drm/i915/gem, dated October 2026, under the name i915_gem_obj...t_dirty_page(9) β mwah, slay, periodt πβ¨
π¦ 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