drm/amdgpu/powerplay/cz: enable/disable vce dpm independent of vce pg
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Feb 2016 20:29:48 +0000 (15:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2016 16:01:24 +0000 (11:01 -0500)
commit370afa7ac5dc6c65cebeaee841ae700eb2387a55
treebf5cc403b7ccc008b6d755356c074ea93d8b98ca
parentb3dae7828399ef316e3fabf7e82c6415cb03a02e
drm/amdgpu/powerplay/cz: enable/disable vce dpm independent of vce pg

If we don't disable it when vce is not in use, we use extra power
if vce pg is disabled.

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