]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Add support for umc 12.5.0/mmhub 1.8.1
authorMangesh Gadre <Mangesh.Gadre@amd.com>
Thu, 30 Jan 2025 05:19:17 +0000 (13:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:03:01 +0000 (21:03 -0500)
Add new IP version support

Signed-off-by: Mangesh Gadre <Mangesh.Gadre@amd.com>
Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index 795d078c359bf8dd97255a9ca87cfabfdb902ad4..2aa87fdf715f2b4bc3255219daddc8afe9e842c5 100644 (file)
@@ -1498,6 +1498,7 @@ static void gmc_v9_0_set_umc_funcs(struct amdgpu_device *adev)
                        adev->umc.channel_idx_tbl = &umc_v6_7_channel_idx_tbl_second[0][0];
                break;
        case IP_VERSION(12, 0, 0):
+       case IP_VERSION(12, 5, 0):
                adev->umc.max_ras_err_cnt_per_query =
                        UMC_V12_0_TOTAL_CHANNEL_NUM(adev) * UMC_V12_0_BAD_PAGE_NUM_PER_CHANNEL;
                adev->umc.channel_inst_num = UMC_V12_0_CHANNEL_INSTANCE_NUM;
@@ -1523,6 +1524,7 @@ static void gmc_v9_0_set_mmhub_funcs(struct amdgpu_device *adev)
                adev->mmhub.funcs = &mmhub_v1_7_funcs;
                break;
        case IP_VERSION(1, 8, 0):
+       case IP_VERSION(1, 8, 1):
                adev->mmhub.funcs = &mmhub_v1_8_funcs;
                break;
        default: