i915_gem_ob..._address_len(9)
π i915_gem_object_get_dma_address_len(9) β Kernel API Manual β¨
okay so bestie, welcome to the glow-up of i915_gem_object_get_dma_address_len, straight out of the Kernel API Manual. yes the title's got that "..." truncation situation going on but we know her full name and we're gonna say it with our whole chest. π
πΈ NAME πΈ
i915_gem_object_get_dma_address_len β she's a wrapper macro for __i915_gem_object_get_dma_address_len. that's it, that's the gig, and she does it flawlessly. π
π¦ SYNOPSIS π¦
i915_gem_object_get_dma_address_len (obj , n , len );
literally exactly like that, no cap. π«Ά
β¨ ARGUMENTS β¨
objβ the i915 GEM buffer object. our main character. πnβ the page offset. know her, love her, type-check her (more on that in a sec π).lenβ the DMA mapped scatterlist's DMA bus addresses length to return. yes that whole phrase. it's a lot but it's hers. π
π₯ RETURN π₯
bus addresses of the targeted DMA mapped scatterlist. that's the whole vibe check result, periodt. β
π DESCRIPTION π
so here's the tea π΅ β to avoid the truncation of the input parameter (yikes, we hate to see it), this macro checks the page offset n's type, from the input parameter, before calling __i915_gem_object_get_dma_address_len. type check first, chaos never. π
and if you wanna go deeper (iykyk), see also __i915_gem_object_page_iter_get_sg and __i915_gem_object_get_dma_address_len. the whole friend group really. π§
π SEE ALSO π
the kernel file is right here, bestie:
./drivers/gpu/drm/i915/gem/i915_gem_object.h
and now, the full squad, in order, no one left behind: πβ¨
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)
that's the whole page, bestie β no crumbs left. this icon lives in ./drivers/gpu/drm/i915/gem, she's dated October 2026, and she's filed under i915_gem_ob..._address_len(9). mwah ππ¦π
π¦ 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