i915_gem_obj...t_dirty_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


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