Commit dcab0eb0 authored by Huang Rui's avatar Huang Rui Committed by Greg Kroah-Hartman

drm/amd/powerplay: fix incorrect voltage table value for tonga

commit 1dfefee8 upstream.
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c0fe421
...@@ -1298,7 +1298,7 @@ static int tonga_populate_smc_mvdd_table(struct pp_hwmgr *hwmgr, ...@@ -1298,7 +1298,7 @@ static int tonga_populate_smc_mvdd_table(struct pp_hwmgr *hwmgr,
table->Smio[count] |= table->Smio[count] |=
data->mvdd_voltage_table.entries[count].smio_low; data->mvdd_voltage_table.entries[count].smio_low;
} }
table->SmioMask2 = data->vddci_voltage_table.mask_low; table->SmioMask2 = data->mvdd_voltage_table.mask_low;
CONVERT_FROM_HOST_TO_SMC_UL(table->MvddLevelCount); CONVERT_FROM_HOST_TO_SMC_UL(table->MvddLevelCount);
} }
......
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