aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
diff options
context:
space:
mode:
authorPratap Nirujogi <[email protected]>2024-05-08 02:49:46 +0000
committerAlex Deucher <[email protected]>2024-06-27 21:34:40 +0000
commit0253d718a070ba109046299847fe8f3cf7568c3c (patch)
tree59781cc8358791f36d7cd7c6e71db36e99e5b9e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
parentdrm/amdgpu: fix Kconfig for ISP v2 (diff)
downloadkernel-0253d718a070ba109046299847fe8f3cf7568c3c.tar.gz
kernel-0253d718a070ba109046299847fe8f3cf7568c3c.zip
drm/amd/amdgpu: Map ISP interrupts as generic IRQs
Map ISP IH interrupts to Linux generic IRQ for ISP driver to handle the interrupts using MFD IORESOURCE_IRQ resource. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Pratap Nirujogi <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
index a11ec0543b93..764d70beb9e9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
@@ -30,6 +30,8 @@
#define ISP_REGS_OFFSET_END 0x629A4
+#define MAX_ISP_INT_SRC 8
+
struct isp_platform_data {
void *adev;
u32 asic_type;