drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11
authorYifan Zhang <yifan1.zhang@amd.com>
Wed, 12 Oct 2022 05:08:30 +0000 (13:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:42 +0000 (07:24 +0100)
commit 16412a94364d1dcebded9217ecb693c9659eaabc upstream.

Add the entry to set the ppt functions for SMU IP v13.0.11.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

index b880f4d..2875f6b 100644 (file)
@@ -585,6 +585,7 @@ static int smu_set_funcs(struct amdgpu_device *adev)
                yellow_carp_set_ppt_funcs(smu);
                break;
        case IP_VERSION(13, 0, 4):
+       case IP_VERSION(13, 0, 11):
                smu_v13_0_4_set_ppt_funcs(smu);
                break;
        case IP_VERSION(13, 0, 5):