amdgpu_bo_kptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is the amdgpu_bo_kptr(9) page from the Kernel API Manual, and the whole assignment is: amdgpu_bo_kptr β€” returns a kernel virtual address of the buffer object. slay. ✨

✨ SYNOPSIS ✨

void * amdgpu_bo_kptr (struct amdgpu_bo *bo );

πŸŽ€ ARGUMENTS πŸŽ€

  • bo β€” the amdgpu_bo buffer object. That's the one and only argument, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

So the function calls ttm_kmap_obj_virtual to get the kernel virtual address. That's the whole move β€” no cap. πŸ’…

🌸 RETURN 🌸

It returns the virtual address of a buffer object area. 🫢

πŸ’… SEE ALSO πŸ’…

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

The whole function-friend group chat:


Cute sign-off: source path ./drivers/gpu/drm/amd/amdgpu, dated October 2026, for amdgpu_bo_kptr(9). πŸ’–βœ¨

πŸ“¦ where this page comes from