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)
commit3fa49eb58df6ce10d855426b213700a0bd32b9d4
treebf5cc403b7ccc008b6d755356c074ea93d8b98ca
parent045189a81d52b3a7464a34278c09c2c2ac03b1d8
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