commit | ca6e0c5bdc44a2cd7152002191a8107fc566084f | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Wed Apr 18 18:43:19 2018 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue May 15 13:43:47 2018 -0500 |
tree | 5612aae3a7618d1bd0f35d3dd6d70f618be25279 | |
parent | 21c77de35661152e118908a081b8a51e7bca7bb4 [diff] |
drm/amd/pp: Refine the OD state checking code in smu7 if vddc restore to default value, driver clear the bit of DPMTABLE_OD_UPDATE_VDDC and need to repopulate sclk and mclk table. 1. Remove variable i checking code. 2. move clear DPMTABLE_OD_UPDATE_VDDC bit to the end of the function to avoid sclk table will not be updated. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>