drm/amdgpu: disable dpm before turn off clock when vce idle.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 26 Oct 2016 09:05:30 +0000 (17:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2016 19:18:48 +0000 (15:18 -0400)
commit415282b15e15c2d7fb18e29c5b554cc7f4ff5c52
treece36417faac0f7c5875acd9ace14d0454fb08ea4
parent4be5097ccba6dd6006b24db238c75dfcf66bcad3
drm/amdgpu: disable dpm before turn off clock when vce idle.

v2: move return value check as well

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c