]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e7115e19037eb43e81fd805bb531cb0e97b3f66
treef5bd336cd8b7800f4e581de1f386cfd2d3a98ebb
parentf16582194844ad4f09b1fce2bb28acf21e6d4b23
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