]> Git Repo - linux.git/commitdiff
drm/amd/pm: add SMU IP v14.0.4 support
authorTim Huang <[email protected]>
Wed, 15 May 2024 04:57:02 +0000 (12:57 +0800)
committerAlex Deucher <[email protected]>
Tue, 2 Jul 2024 22:06:51 +0000 (18:06 -0400)
This patch is to add SMU 14.0.4 support.

Signed-off-by: Li Ma <[email protected]>
Signed-off-by: Tim Huang <[email protected]>
Reviewed-by: Yifan Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c

index 00384b381289b5f16806c8af490845efe1551db6..d79bdb1e8cdfc765ff2ff5b475796a4ce84159e6 100644 (file)
@@ -727,6 +727,7 @@ static int smu_set_funcs(struct amdgpu_device *adev)
                break;
        case IP_VERSION(14, 0, 0):
        case IP_VERSION(14, 0, 1):
+       case IP_VERSION(14, 0, 4):
                smu_v14_0_0_set_ppt_funcs(smu);
                break;
        case IP_VERSION(14, 0, 2):
index 095ee7e2c4bb73f0a321d3d546374c366c91ea6e..09973615f210e1a4c9f99c6fa4a184698dcf6a61 100644 (file)
@@ -243,6 +243,7 @@ int smu_v14_0_check_fw_version(struct smu_context *smu)
 
        switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {
        case IP_VERSION(14, 0, 0):
+       case IP_VERSION(14, 0, 4):
                smu->smc_driver_if_version = SMU14_DRIVER_IF_VERSION_SMU_V14_0_0;
                break;
        case IP_VERSION(14, 0, 1):
@@ -757,6 +758,7 @@ int smu_v14_0_gfx_off_control(struct smu_context *smu, bool enable)
        case IP_VERSION(14, 0, 1):
        case IP_VERSION(14, 0, 2):
        case IP_VERSION(14, 0, 3):
+       case IP_VERSION(14, 0, 4):
                if (!(adev->pm.pp_feature & PP_GFXOFF_MASK))
                        return 0;
                if (enable)
This page took 0.059286 seconds and 4 git commands to generate.