__i915_gem_..._address_len(9)
π
__i915_gem_..._address_len(9) β Kernel API Manual π
Welcome to the Kernel API Manual, bestie β this is the glow-up of the page for __i915_gem_object_get_dma_address_len, and itβs lowkey a tiny helper with a very long name. Letβs get into it β¨
πΈ NAME πΈ
__i915_gem_object_get_dma_address_len β helper to get bus addresses of targeted DMA mapped scatterlist from i915 GEM buffer object and it's length. π
β¨ SYNOPSIS β¨
Okay so hereβs the signature, exactly as it is β no cap:
dma_addr_t __i915_gem_object_get_dma_address_len (struct
drm_i915_gem_object *obj , pgoff_t n , unsigned int *len );
π ARGUMENTS π
objβ i915 GEM buffer object.nβ page offset.lenβ DMA mapped scatterlist's DMA bus addresses length to return.
π RETURN π
Bus addresses of targeted DMA mapped scatterlist. Thatβs the whole return vibe π«Ά
π¦ DESCRIPTION π¦
The manual says itβs recommended to use the wrapper macro: i915_gem_object_get_dma_address_len. Thatβs the official rec, bestie β the wrapper is giving main character energy.
Also see __i915_gem_object_page_iter_get_sg and __i915_gem_object_get_sg_dma for the related helper squad. π₯
π SEE ALSO π
Kernel file: ./drivers/gpu/drm/i915/gem/i915_gem_object.h
The whole SEE ALSO lineup, in order, no skips:
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_dirty_page(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)
And thatβs the page, bestie! Source/version: ./drivers/gpu/drm/i915/gem Β· date: October 2026 Β· page: __i915_gem_..._address_len(9). Stay iconic ππ
π¦ 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