diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-04-18 18:43:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-15 13:43:47 -0500 |
commit | ca6e0c5bdc44a2cd7152002191a8107fc566084f (patch) | |
tree | 5612aae3a7618d1bd0f35d3dd6d70f618be25279 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions