isp_kernel_buffer_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

isp_kernel_buffer_alloc β€” create kernel buffer object (BO) for isp ✨

okay bestie, welcome to the Kernel API Manual corner: this one is all about making a kernel BO for isp πŸŽ€


✨ SYNOPSIS ✨

int isp_kernel_buffer_alloc (struct device *dev , u64 size , void
       **buf_obj , u64 *gpu_addr , void **cpu_addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” isp device handle πŸ‘‘
  • size β€” size for the new BO πŸ“
  • buf_obj β€” GPU BO handle to initialize 🫢
  • gpu_addr β€” GPU addr of the pinned BO 🌸
  • cpu_addr β€” CPU address mapping of BO πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function allocates and pins a kernel BO for internal isp firmware use β€” literally the whole vibe πŸ’…

It’s exported on purpose: this function is exported to allow the V4L2 isp device external to drm device to create and access the kernel BO ✨ no cap, that’s the interoperability moment 🫢


🌸 RETURN 🌸

0 on success πŸ˜ŒπŸ’– negative error code otherwise 😭


πŸ’… SEE ALSO πŸ’…

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c is the main-character file, and the guest list is:


xoxo πŸ’– this page lives under ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it’s the isp_kernel_buffer_alloc(9) page β€” periodt 🌈

πŸ“¦ where this page comes from