diff options
author | 2021-12-15 23:37:03 +0800 | |
---|---|---|
committer | 2021-12-16 13:43:46 -0500 | |
commit | 3c27abee3fc3d59fb978e3291b60eaaddbcbf2e6 (patch) | |
tree | fadfbe889b259a009282a89d7c20ecbae0b91b00 | |
parent | drm/amd/pm: restore SMU version print statement for dGPUs (diff) | |
download | wireguard-linux-3c27abee3fc3d59fb978e3291b60eaaddbcbf2e6.tar.xz wireguard-linux-3c27abee3fc3d59fb978e3291b60eaaddbcbf2e6.zip |
drm/amd/pm: Fix xgmi link control on aldebaran
Fix the message argument.
0: Allow power down
1: Disallow power down
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c index 0907da022197..7433a051e795 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c @@ -1625,7 +1625,7 @@ static int aldebaran_allow_xgmi_power_down(struct smu_context *smu, bool en) { return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_GmiPwrDnControl, - en ? 1 : 0, + en ? 0 : 1, NULL); } |