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

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

commit 8d8258bdab735d9f3c4b78e091ecfbb2b2b1f2ca upstream.

resulted in unexpected data truncation
Reviewed-by: 's avatarAlex Deucher <>
Signed-off-by: 's avatarRex Zhu <>
Signed-off-by: 's avatarAlex Deucher <>
Signed-off-by: 's 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