amdgpu_bo_g...set_no_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_bo_g...set_no_check(9) β€” the Kernel API Manual, but make it make sense

okay so bestie, welcome to the Kernel API Manual ✨ and today's main character is amdgpu_bo_gpu_offset_no_check(9) β€” yes that's the truncated header name, the actual function is amdgpu_bo_gpu_offset_no_check and she is literally the "no check" version of the offset getter. buckle up πŸŽ€


✨ NAME ✨

amdgpu_bo_gpu_offset_no_check β€” return GPU offset of bo πŸ¦‹

that's it. that's the whole job. she returns the GPU offset of a bo, no cap.


🌸 SYNOPSIS 🌸

u64 amdgpu_bo_gpu_offset_no_check (struct amdgpu_bo *bo );

yes, she returns a u64, yes she takes exactly one struct amdgpu_bo * named bo, and yes the spacing in that signature is exactly how the page has it, we do not touch the code, we respect the code πŸ’œ


🫢 ARGUMENTS 🫢

  • bo β€” amdgpu object for which we query the offset. that's your bo. your little guy. you're asking her "hey where does this one live on the GPU" 🧚

πŸ‘‘ RETURN πŸ‘‘

current GPU offset of the object without raising warnings πŸ’€

like, that's the whole vibe of the _no_check suffix β€” she hands you the offset and she does not start yelling at you about it. if you wanted the version that does the vibe check and gets loud, that's a different (also linked below) function, iykyk πŸ”₯


⭐ SEE ALSO ⭐

the kernel file, which is where the real lore lives:

./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

also, and I cannot stress this enough, the entire extended universe of amdgpu_bo friends β€” in order, because we don't do chaos here (okay we do a little chaos, but not with reference lists) 🌈

one bullet per icon, no skips, no merges, we ate and left no crumbs πŸ“

also peep amdgpu_bo_gpu_offset(9) right there in the middle of the list β€” that's the checked sibling, she's the one who does raise warnings. this page's girl is the chill one. don't mix them up bestie, fr fr 😭

and that's the page! πŸŽ€ this iconic little entry lives under ./drivers/gpu/drm/amd/amdgpu, she was dated October 2026, and she's filed in the Kernel API Manual as amdgpu_bo_g...set_no_check(9) β€” yes the header is truncated, no we did not fix it, she's perfect as she is πŸ’– slay, periodt, go read your offsets responsibly ✨

πŸ“¦ where this page comes from