drm/amdgpu/cz: unforce dpm levels before forcing to low/high
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jul 2015 16:26:41 +0000 (12:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jul 2015 16:39:41 +0000 (12:39 -0400)
commit85cfe096552b7792032105dbcedeab019ac4c26e
treef5bd336cd8b7800f4e581de1f386cfd2d3a98ebb
parent4f2d3ad6863ad5bc361c704511cd8888723085e8
drm/amdgpu/cz: unforce dpm levels before forcing to low/high

This is necessary to properly reset the min/max limits before
clamping them otherwise we may get improper clamping depending
on what what was the last forced level.

Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/cz_dpm.c