__i915_gem_..._address_len(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


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