Lines Matching full:isp
39 * isp_hw_init - start and test isp block
47 struct amdgpu_isp *isp = &adev->isp; in isp_hw_init() local
49 if (isp->funcs->hw_init != NULL) in isp_hw_init()
50 return isp->funcs->hw_init(isp); in isp_hw_init()
63 struct amdgpu_isp *isp = &ip_block->adev->isp; in isp_hw_fini() local
65 if (isp->funcs->hw_fini != NULL) in isp_hw_fini()
66 return isp->funcs->hw_fini(isp); in isp_hw_fini()
77 /* get isp fw binary name and path */ in isp_load_fw_by_psp()
81 /* read isp fw */ in isp_load_fw_by_psp()
82 r = amdgpu_ucode_request(adev, &adev->isp.fw, AMDGPU_UCODE_OPTIONAL, in isp_load_fw_by_psp()
85 amdgpu_ucode_release(&adev->isp.fw); in isp_load_fw_by_psp()
89 hdr = (const struct common_firmware_header *)adev->isp.fw->data; in isp_load_fw_by_psp()
93 adev->firmware.ucode[AMDGPU_UCODE_ID_ISP].fw = adev->isp.fw; in isp_load_fw_by_psp()
105 struct amdgpu_isp *isp = &adev->isp; in isp_early_init() local
109 isp_v4_1_0_set_isp_funcs(isp); in isp_early_init()
112 isp_v4_1_1_set_isp_funcs(isp); in isp_early_init()
118 isp->adev = adev; in isp_early_init()
119 isp->parent = adev->dev; in isp_early_init()
122 DRM_DEBUG_DRIVER("%s: isp fw load failed\n", __func__); in isp_early_init()
155 * isp_user_buffer_alloc - create user buffer object (BO) for isp
157 * @dev: isp device handle
158 * @dmabuf: DMABUF handle for isp buffer allocated in system memory
162 * Imports isp DMABUF to allocate and pin a user BO for isp internal use. It does
164 * GART aperture for ISP HW.
166 * This function is exported to allow the V4L2 isp device external to drm device
167 * to create and access the isp user BO.
218 * isp_user_buffer_free - free isp user buffer object (BO)
220 * @buf_obj: amdgpu isp user BO to free
222 * unpin and unref BO for isp internal use.
224 * This function is exported to allow the V4L2 isp device
225 * external to drm device to free the isp user BO.
234 * isp_kernel_buffer_alloc - create kernel buffer object (BO) for isp
236 * @dev: isp device handle
242 * Allocates and pins a kernel BO for internal isp firmware use.
244 * This function is exported to allow the V4L2 isp device
300 * isp_kernel_buffer_free - free isp kernel buffer object (BO)
302 * @buf_obj: amdgpu isp user BO to free
303 * @gpu_addr: GPU addr of isp kernel BO
304 * @cpu_addr: CPU addr of isp kernel BO
306 * unmaps and unpin a isp kernel BO.
308 * This function is exported to allow the V4L2 isp device