radeon_ib_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… radeon_ib_get(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for radeon_ib_get, and honestly? it's a whole vibe. it's giving "please bestie, just hand me a buffer" energy πŸŽ€


✨ NAME ✨

radeon_ib_get β€” request an IB (Indirect Buffer) πŸ¦‹

✨ SYNOPSIS ✨

int radeon_ib_get (struct radeon_device *rdev , int ring , struct
radeon_ib *ib , struct radeon_vm *vm , unsigned size );

like, yes, that's the whole signature. read it, love it, memorise it πŸ’–

✨ ARGUMENTS ✨

  • rdev β€” the radeon_device pointer, aka the main character of this whole operation πŸ‘‘
  • ring β€” the ring index this IB is associated with. which ring? that ring πŸ’«
  • ib β€” the IB object that gets returned to you. it's the whole point, honestly 🫢
  • vm β€” the requested vm 🌸
  • size β€” how big you want the IB to be, in all its requested-size glory ✨

✨ DESCRIPTION ✨

so you're requesting an IB (that's an Indirect Buffer, iykyk) β€” and this works on all asics, no cap πŸ”₯

the way these IBs get allocated is via the suballocator. that's it, that's the tea πŸ“

returns 0 on success, and an error on failure. simple as that, periodt πŸ’…

ngl bestie, always check that return value. success is 0, anything else is the universe telling you something went sideways 😭

✨ SEE ALSO ✨

go read those next, bestie, they're literally the friend group of this function 🌈


and that's the page!! πŸ’œ this icon was brought to you by ./drivers/gpu/drm/radeon, stamped October 2026, living in the Kernel API Manual β€” mwah, slay, bye πŸ§šπŸ’–

πŸ“¦ where this page comes from