mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-04-18 06:34:27 -04:00
drm/amd/amdgpu: Add ISP4.1.0 and ISP4.1.1 modules
Add independent IP centric modules for ISP4.1.0 and ISP4.1.1 hw blocks. Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
0253d718a0
commit
05bafe95e5
@@ -30,7 +30,7 @@
|
||||
|
||||
#define ISP_REGS_OFFSET_END 0x629A4
|
||||
|
||||
#define MAX_ISP_INT_SRC 8
|
||||
struct amdgpu_isp;
|
||||
|
||||
struct isp_platform_data {
|
||||
void *adev;
|
||||
@@ -38,9 +38,15 @@ struct isp_platform_data {
|
||||
resource_size_t base_rmmio_size;
|
||||
};
|
||||
|
||||
struct isp_funcs {
|
||||
int (*hw_init)(struct amdgpu_isp *isp);
|
||||
int (*hw_fini)(struct amdgpu_isp *isp);
|
||||
};
|
||||
|
||||
struct amdgpu_isp {
|
||||
struct device *parent;
|
||||
struct cgs_device *cgs_device;
|
||||
struct amdgpu_device *adev;
|
||||
const struct isp_funcs *funcs;
|
||||
struct mfd_cell *isp_cell;
|
||||
struct resource *isp_res;
|
||||
struct isp_platform_data *isp_pdata;
|
||||
@@ -48,6 +54,7 @@ struct amdgpu_isp {
|
||||
const struct firmware *fw;
|
||||
};
|
||||
|
||||
extern const struct amdgpu_ip_block_version isp_ip_block;
|
||||
extern const struct amdgpu_ip_block_version isp_v4_1_0_ip_block;
|
||||
extern const struct amdgpu_ip_block_version isp_v4_1_1_ip_block;
|
||||
|
||||
#endif /* __AMDGPU_ISP_H__ */
|
||||
|
||||
Reference in New Issue
Block a user