diff options
author | John Clements <john.clements@amd.com> | 2020-05-14 11:21:01 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-14 17:43:59 -0400 |
commit | b7f0656a25467fc26eb7fc375caf38ee99f5d004 (patch) | |
tree | a36562c8d891f37530f42958d7f8a3c43736851d | |
parent | 5c23e9e05e42b5ea56a87a17f1da9ccf9b100465 (diff) |
drm/amdgpu: Updated XGMI power down control support check
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>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c index 4874a20ccdf1..cbf70122de9b 100644 --- a/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c +++ b/drivers/gpu/drm/amd/powerplay/arcturus_ppt.c @@ -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; } |