radeon_ib_get(9)
π 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β theradeon_devicepointer, 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 β¨
- kernel file
./drivers/gpu/drm/radeon/radeon_ib.c radeon_ib_free(9)radeon_ib_schedule(9)radeon_ib_pool_init(9)radeon_ib_pool_fini(9)radeon_ib_ring_tests(9)
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
- 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