drm_gem_is_...rted_dma_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

drm_gem_is_prime_exported_dma_buf β€” okay so this one checks if the DMA-BUF was exported from a GEM object belonging to @dev. That's it, that's the whole job bestie 🫢

✨ SYNOPSIS ✨

bool drm_gem_is_prime_exported_dma_buf (struct drm_device *dev , struct dma_buf *dma_buf );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the drm_device you're checking against. Like, this is the device we're asking about πŸ’–
  • dma_buf β€” the dma-buf object to import. The one on trial, basically πŸ¦‹

⭐ RETURN ⭐

Returns true if the DMA-BUF was exported from a GEM object belonging to dev, and false otherwise. Iconic boolean behaviour, no notes πŸ‘‘

🌈 SEE ALSO 🌈

Like the whole friend group, fr fr β€” go read these too:


Okay that's the whole page, mwah πŸ’‹ this lives in ./drivers/gpu/drm and it's dated October 2026, from the Kernel API Manual. Go forth and vibe check your dma-bufs bestie πŸŒΈπŸ§šπŸ’œ

πŸ“¦ where this page comes from