amdgpu_bo_create_isp_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_bo_create_isp_user(9) β€” from the Kernel API Manual, bestie ✨

okay so bestie, pull up a chair πŸŽ€ because this one's a kernel function and it's lowkey iconic. it lives in the Kernel API Manual (that's the manual name, iykyk) and it's all about making a user BO for isp. let's get into it πŸ’…


🌸 NAME 🌸

amdgpu_bo_create_isp_user β€” literally "create user BO for isp". that's the whole vibe fr fr πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int amdgpu_bo_create_isp_user (struct amdgpu_device *adev , struct
       dma_buf *dma_buf , u32 domain , struct amdgpu_bo **bo , u64 *gpu_addr );

πŸ’œ ARGUMENTS πŸ’œ

  • adev β€” the amdgpu device object πŸ–₯️ your main character.
  • dma_buf β€” the DMABUF handle for the isp buffer, bestie πŸŽ€
  • domain β€” where to place it. that's it. that's the whole description. periodt.
  • bo β€” used to initialize BOs in structures 🧚
  • gpu_addr β€” the GPU addr of the pinned BO. slay ⭐

🌈 DESCRIPTION 🌈

so what does it actually do? it imports the isp DMABUF to allocate and pin a user BO for isp internal use 😌✨ it does a GART alloc to generate gpu_addr for the BO, so that the BO is accessible through the GART aperture for the ISP HW. that's the whole flex πŸ’ͺ

and here's the part that's giving main character energy: this function is exported to allow the V4L2 isp device β€” which lives external to the drm device β€” to create and access the isp user BO 🫢 no cap, that's the whole reason it exists.


πŸ”₯ RETURN πŸ”₯

0 on success, negative error code otherwise. that's it. no drama πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here: ./drivers/gpu/drm/amd/amdgpu/amdgpu_object.c πŸ“

and here's the whole friend group, no one left out πŸ’–


and that's the page, bestie πŸ§šπŸ’œ it came from ./drivers/gpu/drm/amd/amdgpu (that's the source/version bit), dated October 2026 β€” go off, calendar πŸ“…βœ¨ mwah πŸ’‹

πŸ“¦ where this page comes from