diff options
author | 2021-12-15 23:37:03 +0800 | |
---|---|---|
committer | 2021-12-17 12:47:28 -0500 | |
commit | 19e66d512e4182a0461530fa3159638e0f55d97e (patch) | |
tree | 4abcad84eb67366c03f4fed5f1f736b396b4b1bc | |
parent | drm/amdgpu: introduce new amdgpu_fence object to indicate the job embedded fence (diff) | |
download | linux-dev-19e66d512e4182a0461530fa3159638e0f55d97e.tar.xz linux-dev-19e66d512e4182a0461530fa3159638e0f55d97e.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 59a7d276541d..7d50827cf0a8 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c @@ -1621,7 +1621,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); } |