isp_kernel_buffer_alloc(9)
π 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:
isp_hw_init(9)isp_hw_fini(9)isp_user_buffer_alloc(9)isp_user_buffer_free(9)isp_kernel_buffer_free(9)
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
- 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