]> git.hungrycats.org Git - linux/commitdiff
drm/amdgpu: add support for SMU version 15.0.9
authorKanala Ramalingeswara Reddy <Kanala.RamalingeswaraReddy@amd.com>
Wed, 17 Jun 2026 12:34:53 +0000 (18:04 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jul 2026 18:20:29 +0000 (14:20 -0400)
Initialize SMU Version 15_0_9

Signed-off-by: Kanala Ramalingeswara Reddy <Kanala.RamalingeswaraReddy@amd.com>
Signed-off-by: Granthali Vinodkumar Dhandar <granthali.vinodkumardhandar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/soc21.c
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_0_ppt.c

index 396098e8bce150e128ad1a5c8c7d2ad4b0393dc9..d9edac5f321d31b5dfba7791f39cdf190e081423 100644 (file)
@@ -2601,6 +2601,7 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(15, 0, 0):
        case IP_VERSION(15, 0, 5):
        case IP_VERSION(15, 0, 8):
+       case IP_VERSION(15, 0, 9):
                amdgpu_device_ip_block_add(adev, &smu_v15_0_ip_block);
                break;
        default:
index 09f28dbd60eed7e4915f115c433f8aa58e3de737..5a3d6c7a8d6ca9c1f16bcdf343ecefabd26aeb97 100644 (file)
@@ -406,6 +406,7 @@ soc21_asic_reset_method(struct amdgpu_device *adev)
        case IP_VERSION(14, 0, 4):
        case IP_VERSION(14, 0, 5):
        case IP_VERSION(15, 0, 0):
+       case IP_VERSION(15, 0, 9):
                return AMD_RESET_METHOD_MODE2;
        default:
                if (amdgpu_dpm_is_baco_supported(adev))
index 541cf0a985eb9d3b7d68b71202b78a35b9731816..0caea992d3fb4befb1bfeb04176045a38994734e 100644 (file)
@@ -801,6 +801,7 @@ static int smu_set_funcs(struct amdgpu_device *adev)
                break;
        case IP_VERSION(15, 0, 0):
        case IP_VERSION(15, 0, 5):
+       case IP_VERSION(15, 0, 9):
                smu_v15_0_0_set_ppt_funcs(smu);
                break;
        case IP_VERSION(15, 0, 8):
index f3fb6ed4bc95324a53c4895a22123c9622f4a068..046069e938540f63c986b8eae48daee473bfcf73 100644 (file)
@@ -583,6 +583,7 @@ int smu_v15_0_gfx_off_control(struct smu_context *smu, bool enable)
 
        switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
        case IP_VERSION(15, 0, 0):
+       case IP_VERSION(15, 0, 9):
                if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
                        return 0;
                if (enable)
index a214ddbd4c86390591374e0e8026932b7c216294..bb8d09e73c7d06f8175a9db4747f33e2e7be8b6f 100644 (file)
@@ -1177,7 +1177,8 @@ static int smu_v15_0_common_get_dpm_profile_freq(struct smu_context *smu,
                        smu_v15_0_common_get_dpm_ultimate_freq(smu, SMU_SOCCLK, NULL, &clk_limit);
                break;
        case SMU_FCLK:
-               if (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(15, 0, 0))
+               if (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(15, 0, 0) ||
+                       amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(15, 0, 9))
                        smu_v15_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &clk_limit);
                else
                        clk_limit = SMU_15_0_UMD_PSTATE_FCLK;