diff options
| author | Rex Zhu <[email protected]> | 2018-04-18 10:43:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-05-15 18:43:47 +0000 |
| commit | ca6e0c5bdc44a2cd7152002191a8107fc566084f (patch) | |
| tree | 5612aae3a7618d1bd0f35d3dd6d70f618be25279 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amd/pp: Use dynamic gfx_clk rather than hardcoded values (diff) | |
| download | kernel-ca6e0c5bdc44a2cd7152002191a8107fc566084f.tar.gz kernel-ca6e0c5bdc44a2cd7152002191a8107fc566084f.zip | |
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 <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
