Commit e4c84b50 authored by Rex Zhu's avatar Rex Zhu Committed by Greg Kroah-Hartman

drm/amd/pp: fix typecast error in powerplay.

commit 8d8258bd upstream.

resulted in unexpected data truncation
Reviewed-by: default avatarAlex Deucher <>
Signed-off-by: default avatarRex Zhu <>
Signed-off-by: default avatarAlex Deucher <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 78f4bb6e
......@@ -850,9 +850,9 @@ static int init_over_drive_limits(
const ATOM_Tonga_POWERPLAYTABLE *powerplay_table)
hwmgr->platform_descriptor.overdriveLimit.engineClock =
hwmgr->platform_descriptor.overdriveLimit.memoryClock =
hwmgr->platform_descriptor.minOverdriveVDDC = 0;
hwmgr->platform_descriptor.maxOverdriveVDDC = 0;
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