amdgpu_gem_prime_export(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_gem_prime_export(9) β€” Kernel API Manual, bestie ✨

🌸 NAME 🌸

amdgpu_gem_prime_export β€” it's the &drm_driver.gem_prime_export implementation, periodt. That ampersand is literally part of the code vibe, don't come for me 😌

✨ SYNOPSIS ✨

struct dma_buf * amdgpu_gem_prime_export (struct drm_gem_object *gobj ,
int flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • gobj β€” the GEM BO, bestie πŸ’–
  • flags β€” flags such as DRM_CLOEXEC and DRM_RDWR ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the main work? it's done by the drm_gem_prime_export helper. That's the whole lore here, no cap 🫢

🌈 RETURN 🌈

You get a shared DMA buffer representing the GEM BO from the given device, and that's the tea πŸ«– keep it cute.

πŸ‘‘ SEE ALSO πŸ‘‘

ngl, go peek at these besties:


πŸ’– cute sign-off: this page lives under source ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's literally the amdgpu_gem_prime_export(9) girlie signing off β€” mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from