amdgpu_bo_g...set_no_check(9)
π 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) π
amdgpu_object(9)amdgpu_bo_is_amdgpu_bo(9)amdgpu_bo_placement_from_domain(9)amdgpu_bo_create_reserved(9)amdgpu_bo_create_kernel(9)amdgpu_bo_create_isp_user(9)amdgpu_bo_create_kernel_at(9)amdgpu_bo_free_kernel(9)amdgpu_bo_free_isp_user(9)amdgpu_bo_create(9)amdgpu_bo_create_user(9)amdgpu_bo_create_vm(9)amdgpu_bo_kmap(9)amdgpu_bo_kptr(9)amdgpu_bo_kunmap(9)amdgpu_bo_ref(9)amdgpu_bo_unref(9)amdgpu_bo_pin(9)amdgpu_bo_unpin(9)amdgpu_bo_init(9)amdgpu_bo_fini(9)amdgpu_bo_set_tiling_flags(9)amdgpu_bo_get_tiling_flags(9)amdgpu_bo_set_metadata(9)amdgpu_bo_get_metadata(9)amdgpu_bo_move_notify(9)amdgpu_bo_release_notify(9)amdgpu_bo_fault_reserve_notify(9)amdgpu_bo_fence(9)amdgpu_bo_sync_wait_resv(9)amdgpu_bo_sync_wait(9)amdgpu_bo_gpu_offset(9)amdgpu_bo_fb_aper_addr(9)amdgpu_bo_mem_stats_placement(9)amdgpu_bo_get_preferred_domain(9)amdgpu_bo_print_info(9)
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
- 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