__i915_gem_o...t_dirty_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– __i915_gem_o...t_dirty_page(9) πŸ’–

okay so bestie, we're deep in the Kernel API Manual and this lil entry is literally about finding a target page by page offset. no cap, it's giving "small helper, big main character energy" ✨


✨ NAME ✨

__i915_gem_object_get_dirty_page β€” helper to find the target page with a page offset πŸŽ€


🌸 SYNOPSIS 🌸

struct page * __i915_gem_object_get_dirty_page (struct
       drm_i915_gem_object *obj , pgoff_t n );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • obj β€” i915 GEM buffer object πŸ’…
  • n β€” page offset 🌸

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea: it works like i915_gem_object_get_page, but it marks the returned page dirty. that's the whole flex πŸ”₯

Recommended to use wrapper macro: i915_gem_object_get_dirty_page β€” yes bestie, use the wrapper, it's right there 🫢

See also __i915_gem_object_page_iter_get_sg and __i915_gem_object_get_page πŸ‘€


⭐ RETURN ⭐

The target page pointer. periodt πŸ’«


🌈 SEE ALSO 🌈

Kernel file: ./drivers/gpu/drm/i915/gem/i915_gem_object.h 🧚


and that's the page, bestie πŸ’‹ source/version vibes are ./drivers/gpu/drm/i915/gem, dated October 2026, and the footer title is __i915_gem_o...t_dirty_page(9) β€” mwah πŸŽ€πŸ’–

πŸ“¦ where this page comes from