From 0253d718a070ba109046299847fe8f3cf7568c3c Mon Sep 17 00:00:00 2001 From: Pratap Nirujogi Date: Tue, 7 May 2024 22:49:46 -0400 Subject: 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 Reviewed-by: Mario Limonciello Signed-off-by: Pratap Nirujogi Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h') 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; -- cgit v1.2.3-70-g09d2