Commit b7f0656a authored by John Clements's avatar John Clements Committed by Alex Deucher

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: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarJohn Clements <john.clements@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5c23e9e0
...@@ -2298,9 +2298,9 @@ static int arcturus_allow_xgmi_power_down(struct smu_context *smu, bool en) ...@@ -2298,9 +2298,9 @@ static int arcturus_allow_xgmi_power_down(struct smu_context *smu, bool en)
return ret; return ret;
} }
/* PPSMC_MSG_GmiPwrDnControl is supported by 54.20.0 and onwards */ /* PPSMC_MSG_GmiPwrDnControl is supported by 54.23.0 and onwards */
if (smu_version < 0x365000) { if (smu_version < 0x00361700) {
pr_err("XGMI power down control is only supported by PMFW 54.20.0 and onwards\n"); pr_err("XGMI power down control is only supported by PMFW 54.23.0 and onwards\n");
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment