i915_gem_object_get_sg(9)
πΈ NAME πΈ
i915_gem_object_get_sg β wrapper macro for __i915_gem_object_get_sg().
okay so bestie, welcome to the Kernel API Manual page for i915_gem_object_get_sg(9) β¨ it's giving wrapper macro, fr fr β this is the cute little wrapper around __i915_gem_object_get_sg().
β¨ SYNOPSIS β¨
The way this call goes is literally:
i915_gem_object_get_sg (obj , n , offset );
π ARGUMENTS π
objβ the i915 GEM buffer object, aka the main character. π«Άnβ page offset. yes bestie, the page offset.offsetβ the searched physical offset; it will be used for returning the physical page offset value. π
β RETURN β
The target scatterlist pointer and the target page position. that's the return, periodt π
π¦ DESCRIPTION π¦
okay so the whole point: in order to avoid the truncation of the input parameter, it checks the page offset n's type from the input parameter before calling __i915_gem_object_get_sg. that's the move, iykyk. See also __i915_gem_object_page_iter_get_sg π.
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/i915/gem/i915_gem_object.h π
Go be nosy with these besties:
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_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_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)
xoxo π this page lives in ./drivers/gpu/drm/i915/gem, it's dated October 2026, and it's the i915_gem_object_get_sg(9) page from the Kernel API Manual. mwah, bestie πβ¨
π¦ 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