aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
diff options
context:
space:
mode:
authorPratap Nirujogi <[email protected]>2024-05-17 04:39:48 +0000
committerAlex Deucher <[email protected]>2024-06-27 21:34:40 +0000
commit05bafe95e580587ff5febf8ce242fa2f401a1f17 (patch)
treeed742278c8e1a653a42a4a1ea62f32ee260a35ba /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
parentdrm/amd/amdgpu: Map ISP interrupts as generic IRQs (diff)
downloadkernel-05bafe95e580587ff5febf8ce242fa2f401a1f17.tar.gz
kernel-05bafe95e580587ff5febf8ce242fa2f401a1f17.zip
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 <[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_discovery.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 05031bfd0acf..90475ddf1c03 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2391,8 +2391,10 @@ static int amdgpu_discovery_set_isp_ip_blocks(struct amdgpu_device *adev)
#if defined(CONFIG_DRM_AMD_ISP)
switch (amdgpu_ip_version(adev, ISP_HWIP, 0)) {
case IP_VERSION(4, 1, 0):
+ amdgpu_device_ip_block_add(adev, &isp_v4_1_0_ip_block);
+ break;
case IP_VERSION(4, 1, 1):
- amdgpu_device_ip_block_add(adev, &isp_ip_block);
+ amdgpu_device_ip_block_add(adev, &isp_v4_1_1_ip_block);
break;
default:
break;