]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: Updated XGMI power down control support check
authorJohn Clements <john.clements@amd.com>
Thu, 14 May 2020 03:21:01 +0000 (11:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 May 2020 21:43:59 +0000 (17:43 -0400)
Updated SMC FW version check to determine if XGMI power down control is supported

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c

index 4874a20ccdf1a9bb0eefe7a5f4e733e23f6bd37c..cbf70122de9bd41099e6de1a127fff20c3ceacb3 100644 (file)
@@ -2298,9 +2298,9 @@ static int arcturus_allow_xgmi_power_down(struct smu_context *smu, bool en)
                return ret;
        }
 
-       /* PPSMC_MSG_GmiPwrDnControl is supported by 54.20.0 and onwards */
-       if (smu_version < 0x365000) {
-               pr_err("XGMI power down control is only supported by PMFW 54.20.0 and onwards\n");
+       /* PPSMC_MSG_GmiPwrDnControl is supported by 54.23.0 and onwards */
+       if (smu_version < 0x00361700) {
+               pr_err("XGMI power down control is only supported by PMFW 54.23.0 and onwards\n");
                return -EINVAL;
        }